.. | ||
defaults | ||
files | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
README.md |
luks_ssh
This installs the sshd dracut module, which will include sshd in the initramfs and make SSH available on boot. This allows for a remote passphrase input via SSH to unlock the LUKS encrypted root partition.
Files based on commit: a28f695d82
Note: This roughly reflects the changes as of the commit above, but is adjusted to explicitly import network-systemd, if needed (not used with default CentOS 7 instance), and to use a dedicated authorized_keys
file, deployed to the module directory instead of the root users keys.
Requirements
A prepared CentOS 7 instance with ifcfg based network config / already configured network settings and a NM_CONTROLLED=no
config for the interface, if needed, to prevent the network manager from importing the state (the network config) that was used in the initrd.
Role Variables
Please look at the defaults/main.yml for all available variables and their description.
Note: Lines that are commented out via #
are usually still valid/used variables, but they are not defined by default, so they might enable a feature, when uncommenting/defining them!
Dependencies
None
License
GPL-3.0-only