From 92c7978d559123b275c603c893ee5a9ae8172037 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 7 Dec 2019 12:38:56 +0200 Subject: Change: sid network up and password reset --- sid.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sid.yml b/sid.yml index cda8d61..a1a858c 100644 --- a/sid.yml +++ b/sid.yml @@ -38,9 +38,13 @@ steps: - chroot: rootfs shell: | - passwd -l root + set -eu + # passwd -l root + # remove root password - temporary for dev/test + sed -i 's/^root:[^:]*:/root::/' /etc/passwd echo sid > /etc/hostname - printf 'auth eth0\niface eth0 inet dhcp\n' > /etc/network/interface.d/eth0 + mkdir -p -m 0755 /etc/network/interfaces.d + printf 'auto eth0\niface eth0 inet dhcp\n' > /etc/network/interfaces.d/eth0 mkdir -p -m 0700 /root/.ssh - shell: | -- cgit v1.2.1