From 71ecdae421dc851c0c0e91476d0f0a845331ed40 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 9 Feb 2021 14:29:52 +0100 Subject: [PATCH] do not use the empty password for alpine --- alpine-rebuild-initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine-rebuild-initramfs.sh b/alpine-rebuild-initramfs.sh index 30923d1..daa32d7 100755 --- a/alpine-rebuild-initramfs.sh +++ b/alpine-rebuild-initramfs.sh @@ -58,7 +58,7 @@ run_root rc-update add sshd run_root rc-update add rdnssd run_root rc-update add networking run_root rc-update add hostname -run_root sed -i 's/root:!::0:::::/root:::0:::::/' /etc/shadow +run_root sed -i 's/root:!::0:::::/root:*::0:::::/' /etc/shadow sudo tee "$rootfs_tmpdir/etc/network/interfaces" <