diff --git a/raspberrypi/recipes/pi3-pi4.sh b/raspberrypi/recipes/pi3-pi4.sh index 61e6c28..78e4125 100644 --- a/raspberrypi/recipes/pi3-pi4.sh +++ b/raspberrypi/recipes/pi3-pi4.sh @@ -12,9 +12,8 @@ toast_me() { chroot $MNT adduser pi sudo chroot $MNT adduser pi plugdev echo "pi:raspberry" | chroot $MNT chpasswd - # Force generate SSH host keys if they exist and enable SSH + # Force generate SSH host keys if they exist rm -f $MNT/etc/ssh/ssh_host_* - chroot $MNT systemctl enable ssh # Change the hostname echo "127.0.1.1 pirogue.local pirogue" >> $MNT/etc/hosts echo "::1 pirogue.local pirogue" >> $MNT/etc/hosts