ensure ssh keys are kept from live system
This commit is contained in:
parent
2e5739f8aa
commit
d48b989499
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
dest: "/mnt/etc/mkinitfs/mkinitfs.conf"
|
||||
mode: "0750"
|
||||
- name: "Copy SSH host keys from the live system."
|
||||
shell: "cp -a /etc/ssh/*_key* /mnt/etc/ssh/"
|
||||
shell: "rm /mnt/etc/ssh/*_key* -f && cp -a /etc/ssh/*_key* /mnt/etc/ssh/"
|
||||
args:
|
||||
creates: "/mnt/etc/ssh/ssh_host_ed25519_key"
|
||||
- name: "Copy SSH authorized keys from the live system. First create the /root/.ssh directory."
|
||||
|
|
Loading…
Reference in a new issue