setup password in opennebula

This commit is contained in:
Nico Schottelius 2020-08-07 15:01:56 +02:00
parent 91d6eac9c7
commit 5e966b852d
1 changed files with 3 additions and 0 deletions

View File

@ -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"