From 3e9ee40f9de913fecbd000568fecc07d35a50aa1 Mon Sep 17 00:00:00 2001 From: Christian Kastner Date: Fri, 15 Jan 2021 13:25:34 +0100 Subject: fix: Set empty root password in images This helps during manual testing of the images. It's being already being done in the other *.vmdb files. --- arm64-uefi.vmdb | 1 + armhf-uefi.vmdb | 1 + i386-uefi.vmdb | 1 + uefi.vmdb | 1 + 4 files changed, 4 insertions(+) diff --git a/arm64-uefi.vmdb b/arm64-uefi.vmdb index 4477cd7..2a72100 100644 --- a/arm64-uefi.vmdb +++ b/arm64-uefi.vmdb @@ -55,6 +55,7 @@ steps: - chroot: / shell: | + sed -i '/^root:[^:]*:/s//root::/' /etc/passwd echo arm64-uefi-vmdb2 > /etc/hostname - grub: uefi diff --git a/armhf-uefi.vmdb b/armhf-uefi.vmdb index 0d374e9..85235a0 100644 --- a/armhf-uefi.vmdb +++ b/armhf-uefi.vmdb @@ -55,6 +55,7 @@ steps: - chroot: / shell: | + sed -i '/^root:[^:]*:/s//root::/' /etc/passwd echo armhf-uefi-vmdb2 > /etc/hostname - grub: uefi diff --git a/i386-uefi.vmdb b/i386-uefi.vmdb index 1082a7e..e898d6a 100644 --- a/i386-uefi.vmdb +++ b/i386-uefi.vmdb @@ -55,6 +55,7 @@ steps: - chroot: / shell: | + sed -i '/^root:[^:]*:/s//root::/' /etc/passwd echo i386-uefi-vmdb2 > /etc/hostname - grub: uefi diff --git a/uefi.vmdb b/uefi.vmdb index f75193f..a29c394 100644 --- a/uefi.vmdb +++ b/uefi.vmdb @@ -50,6 +50,7 @@ steps: - chroot: / shell: | + sed -i '/^root:[^:]*:/s//root::/' /etc/passwd echo uefi-vmdb2 > /etc/hostname - fstab: / -- cgit v1.2.1