initrd: use install to fix ssh key permissions
This commit is contained in:
parent
209edb3996
commit
34a12f0afb
1 changed files with 1 additions and 1 deletions
|
@ -83,6 +83,6 @@
|
|||
if [[ -f /ssh/authorized_keys ]]; then
|
||||
cp ssh/authorized_keys /mnt-root/root/.ssh/
|
||||
fi
|
||||
cp ssh/ssh_host_* /mnt-root/etc/ssh
|
||||
install -m 400 ssh/ssh_host_* /mnt-root/etc/ssh
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue