From 36c1c2649c0dc7919782e1ea4c47a20320329028 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sat, 20 Jul 2024 08:43:01 +0200 Subject: [PATCH] Stop enabling ssh manually. That's not required, it's already enabled in Debian images. --- raspberrypi/recipes/pi3-pi4.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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