Skip to content

Commit

Permalink
docs/guides/: quote echo argument to avoid shell interpretation
Browse files Browse the repository at this point in the history
Closes: #526 [via git-merge-pr]
  • Loading branch information
elelay authored and zdykstra committed Nov 14, 2023
1 parent 8f1570f commit 1a7fbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/general/native-encryption.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ running the commands::
chmod 000 /etc/zfs/keys/zroot.key
zfs set keylocation=file:///etc/zfs/keys/zroot.key zroot
zfs set org.zfsbootmenu:keysource=zroot/keystore zroot
echo install_optional_items+=" /etc/zfs/keys/zroot.key " >> /etc/dracut.conf.d/zol.conf
echo 'install_optional_items+=" /etc/zfs/keys/zroot.key "' >> /etc/dracut.conf.d/zol.conf

will cause ZFSBootMenu to attempt to cache the key ``file:///etc/zfs/keys/zroot.key`` from ``zroot/keystore`` when
unlocking the ``zroot`` pool. Because ``zroot/keystore`` specifies ``mountpoint=/etc/zfs/keys``, ZFSBootMenu will first
Expand Down

0 comments on commit 1a7fbb8

Please sign in to comment.