Skip to content

Commit

Permalink
test-incus-storage-vm: Bump to 24.04
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Aug 4, 2024
1 parent e0cf548 commit c87adc9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/test-incus-storage-vm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ do
fi

echo "==> Create VM and boot"
incus init images:ubuntu/22.04/cloud v1 --vm -s "${poolName}"
incus init images:ubuntu/24.04/cloud v1 --vm -s "${poolName}"
incus start v1
waitVMAgent v1
incus info v1
Expand Down Expand Up @@ -231,7 +231,7 @@ do
truncate -s 5m "/tmp/incus-test-${poolName}/incus-test-block"

echo "==> Checking disk device hotplug support"
incus launch images:ubuntu/22.04/cloud v1 --vm -s "${poolName}"
incus launch images:ubuntu/24.04/cloud v1 --vm -s "${poolName}"
waitVMAgent v1

# Hotplug disks
Expand Down Expand Up @@ -273,7 +273,7 @@ do

echo "==> Change volume.size on pool and create VM"
incus storage set "${poolName}" volume.size 6GiB
incus init images:ubuntu/22.04/cloud v1 --vm -s "${poolName}"
incus init images:ubuntu/24.04/cloud v1 --vm -s "${poolName}"
incus start v1
waitVMAgent v1
incus info v1
Expand All @@ -288,7 +288,7 @@ do
if [ "${poolDriver}" = "lvm" ]; then
echo "==> Change volume.block.filesystem on pool and create VM"
incus storage set "${poolName}" volume.block.filesystem xfs
incus init images:ubuntu/22.04/cloud v1 --vm -s "${poolName}"
incus init images:ubuntu/24.04/cloud v1 --vm -s "${poolName}"
incus start v1
waitVMAgent v1
incus info v1
Expand All @@ -304,7 +304,7 @@ do
echo "==> Create VM from profile with small disk size"
incus profile copy default vmsmall
incus profile device add vmsmall root disk pool="${poolName}" path=/ size=7GiB
incus init images:ubuntu/22.04/cloud v1 --vm -p vmsmall
incus init images:ubuntu/24.04/cloud v1 --vm -p vmsmall
incus start v1
waitVMAgent v1
incus info v1
Expand Down Expand Up @@ -394,7 +394,7 @@ do
incus profile delete vmsmall

echo "==> Checking VM Generation UUID with QEMU"
incus init images:ubuntu/22.04/cloud v1 --vm -s "${poolName}"
incus init images:ubuntu/24.04/cloud v1 --vm -s "${poolName}"
incus start v1
waitVMAgent v1
incus info v1
Expand Down

0 comments on commit c87adc9

Please sign in to comment.