summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-12-07 12:38:56 +0200
committerLars Wirzenius <liw@liw.fi>2019-12-07 12:38:56 +0200
commit92c7978d559123b275c603c893ee5a9ae8172037 (patch)
treeae58fa2d211baaa028c160e0934928702de1b145
parent2dab1820d23e32743f319afd97836e1016bdae16 (diff)
downloadbase-image-specs-92c7978d559123b275c603c893ee5a9ae8172037.tar.gz
Change: sid network up and password reset
-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: |