From 5e966b852d30ce9a7b2354033d7157810e84288a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Aug 2020 15:01:56 +0200 Subject: [PATCH] setup password in opennebula --- opennebula-images/centos7-build-luks-opennebula-image.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opennebula-images/centos7-build-luks-opennebula-image.sh b/opennebula-images/centos7-build-luks-opennebula-image.sh index 69a5c64..91df92b 100755 --- a/opennebula-images/centos7-build-luks-opennebula-image.sh +++ b/opennebula-images/centos7-build-luks-opennebula-image.sh @@ -119,6 +119,9 @@ cat > /mnt/etc/hosts << EOF ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 EOF +# Setup root password +run_root passwd + # Install one-context RPM and hope things works as expected. curl -L "$ONE_CONTEXT_RPM_URL" > "/mnt$ONE_CONTEXT_RPM_PATH" run_root dnf -y install "$ONE_CONTEXT_RPM_PATH"