diff --git a/test/cases/ostree.sh b/test/cases/ostree.sh index 0de71a2ca..6cfda66e5 100755 --- a/test/cases/ostree.sh +++ b/test/cases/ostree.sh @@ -445,18 +445,23 @@ if [[ "${USER_IN_COMMIT}" == "true" ]]; then sudo sed -i '/^user\|^sshkey/d' "${KS_FILE}" fi +# Get the boot.iso from BOOT_LOCATION +curl -O "$BOOT_LOCATION"/images/boot.iso +sudo mv boot.iso /var/lib/libvirt/images +LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso" + # Install ostree image via anaconda. greenprint "Install ostree image via anaconda" sudo virt-install --initrd-inject="${KS_FILE}" \ --extra-args="inst.ks=file:/ks.cfg console=ttyS0,115200" \ --name="${IMAGE_KEY}"\ --disk path="${LIBVIRT_IMAGE_PATH}",format=qcow2 \ - --ram 3072 \ + --ram 2048 \ --vcpus 2 \ --network network=integration,mac=34:49:22:B0:83:30 \ --os-type linux \ --os-variant ${OS_VARIANT} \ - --location "${BOOT_LOCATION}" \ + --location "${LOCAL_BOOT_LOCATION}" \ --nographics \ --noautoconsole \ --wait=-1 \