Don't remove initial ssh host keys - they will be regenerated during install
This commit is contained in:
parent
795f7750ab
commit
ad36c2a219
|
@ -350,9 +350,6 @@ chroot "$rootdir" freedombone-image-hardware-setup 2>&1 | \
|
||||||
|
|
||||||
rm $rootdir/usr/sbin/policy-rc.d
|
rm $rootdir/usr/sbin/policy-rc.d
|
||||||
|
|
||||||
# Remove SSH keys from the image
|
|
||||||
rm $rootdir/etc/ssh/ssh_host_* || true
|
|
||||||
|
|
||||||
if [[ "$MACHINE" != "beaglebone" ]]; then
|
if [[ "$MACHINE" != "beaglebone" ]]; then
|
||||||
chroot $rootdir apt-get -y install haveged
|
chroot $rootdir apt-get -y install haveged
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue