Skip to content

Commit

Permalink
Update docs/man/zfsbootmenu.7.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew J. Hesford <[email protected]>
  • Loading branch information
rdmitry0911 and ahesford authored Jul 20, 2023
1 parent f2ddbec commit 3c2f902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/man/zfsbootmenu.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ In addition to standard dracut configuration options, the ZFSBootMenu dracut mod

**zfsbootmenu_load_key=<executable-list>**

An optional variable specifying a space-separated list of paths to setup hooks that will be installed in the ZFSBootMenu initramfs. Any path in the list **<executable-list>** that exists and is executable will be installed.
An optional variable specifying a space-separated list of paths to load-key hooks that will be installed in the ZFSBootMenu initramfs. Any path in the list **<executable-list>** that exists and is executable will be installed.

Any installed hooks are run immediately before ZFSBootMenu menu attempts to load a key for the encryption root of a locked filesystem. Each hook will be run with the name of the encryption root as its sole argument. If any hook exits with a non-zero return code, the load attempt will be aborted and the encryption root will not be unlocked. Hooks can be used to prepare keys needed to unlock the encryption root or may even attempt to unlock the root directly; a filesystem that is unlocked after the hooks have run will be considered to have had its keys successfully loaded. **Note:** The hooks may be run multiple times if keys for a given encryption root need to be loaded multiple times, e.g., by triggering a re-import of the pool. If a script should only run once, the script is responsible for keeping track of this.

Expand Down

0 comments on commit 3c2f902

Please sign in to comment.