summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sid.yml8
1 files 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: |