summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sid.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/sid.yml b/sid.yml
index a1a858c..87aacc1 100644
--- a/sid.yml
+++ b/sid.yml
@@ -30,6 +30,7 @@ steps:
packages:
- linux-image-amd64
- python
+ - ssh
tag: rootfs
unless: rootfs_unpacked
@@ -39,9 +40,7 @@ steps:
- chroot: rootfs
shell: |
set -eu
- # passwd -l root
- # remove root password - temporary for dev/test
- sed -i 's/^root:[^:]*:/root::/' /etc/passwd
+ passwd -l root
echo sid > /etc/hostname
mkdir -p -m 0755 /etc/network/interfaces.d
printf 'auto eth0\niface eth0 inet dhcp\n' > /etc/network/interfaces.d/eth0