Stop enabling ssh manually.
That's not required, it's already enabled in Debian images.
This commit is contained in:
parent
5e5836d378
commit
36c1c2649c
@ -12,9 +12,8 @@ toast_me() {
|
|||||||
chroot $MNT adduser pi sudo
|
chroot $MNT adduser pi sudo
|
||||||
chroot $MNT adduser pi plugdev
|
chroot $MNT adduser pi plugdev
|
||||||
echo "pi:raspberry" | chroot $MNT chpasswd
|
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_*
|
rm -f $MNT/etc/ssh/ssh_host_*
|
||||||
chroot $MNT systemctl enable ssh
|
|
||||||
# Change the hostname
|
# Change the hostname
|
||||||
echo "127.0.1.1 pirogue.local pirogue" >> $MNT/etc/hosts
|
echo "127.0.1.1 pirogue.local pirogue" >> $MNT/etc/hosts
|
||||||
echo "::1 pirogue.local pirogue" >> $MNT/etc/hosts
|
echo "::1 pirogue.local pirogue" >> $MNT/etc/hosts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user