copy over ssh keys

This commit is contained in:
gh2o 2014-07-13 18:00:58 -07:00
parent cae6a5a512
commit 68ae1c660f
1 changed files with 3 additions and 0 deletions

View File

@ -242,6 +242,9 @@ DNS=8.8.8.8
DNS=8.8.4.4
EOF
# copy over ssh keys
cp -p /etc/ssh/ssh_*_key{,.pub} /archroot/etc/ssh/
# enable services
chroot /archroot systemctl enable systemd-networkd
chroot /archroot systemctl enable sshd