diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-12-07 12:38:56 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-12-07 12:38:56 +0200 |
commit | 92c7978d559123b275c603c893ee5a9ae8172037 (patch) | |
tree | ae58fa2d211baaa028c160e0934928702de1b145 | |
parent | 2dab1820d23e32743f319afd97836e1016bdae16 (diff) | |
download | base-image-specs-92c7978d559123b275c603c893ee5a9ae8172037.tar.gz |
Change: sid network up and password reset
-rw-r--r-- | sid.yml | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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: | |