summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kastner <ckk@kvr.at>2021-01-15 13:25:34 +0100
committerLars Wirzenius <liw@liw.fi>2021-01-16 09:26:49 +0000
commit3e9ee40f9de913fecbd000568fecc07d35a50aa1 (patch)
tree4e9f0bb2b79d9d58b8f4a350fda7e50ca603a2b8
parent2e6af14e94237167a692496265ab124921810460 (diff)
downloadvmdb2-3e9ee40f9de913fecbd000568fecc07d35a50aa1.tar.gz
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.
-rw-r--r--arm64-uefi.vmdb1
-rw-r--r--armhf-uefi.vmdb1
-rw-r--r--i386-uefi.vmdb1
-rw-r--r--uefi.vmdb1
4 files changed, 4 insertions, 0 deletions
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: /