30 lines
1.3 KiB
Markdown
30 lines
1.3 KiB
Markdown
luks_ssh
|
|
=========
|
|
|
|
This installs the [sshd dracut module](https://github.com/gsauthof/dracut-sshd), 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: https://github.com/gsauthof/dracut-sshd/commit/a28f695d82b2bf6237823db1f1638c4c98b82dee
|
|
|
|
**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](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
|