Remote disk unlocking: Difference between revisions
Revise the summary |
→Setup: Support ZFS in postCommands |
||
| Line 26: | Line 26: | ||
}; | }; | ||
postCommands = '' | postCommands = '' | ||
# | # unlock LUKS encrypted partitions | ||
echo 'cryptsetup-askpass | echo 'cryptsetup-askpass' >> /root/.profile | ||
# unlock ZFS encrypted partitions (NOTE: boot.initrd.supportedFilesystems.zfs must be true for zfs, zpool to be available here) | |||
# zpool import -a; | |||
# echo 'zfs load-key -a' >> /root/.profile | |||
# exit SSH | |||
echo 'exit' >> /root/.profile | |||
''; | ''; | ||
}; | }; | ||