Skip to content

Commit

Permalink
tests: Use ubuntu:24.04 as default image for devlxd-container.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Laing <[email protected]>
  • Loading branch information
markylaing committed Aug 23, 2024
1 parent 474fefc commit 9a4ad31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/devlxd-container
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ echo "==> Create storage pool using driver ${poolDriver}"
lxc storage create "${poolName}" "${poolDriver}"

echo "==> Create container and boot"
lxc launch "${TEST_IMG:-ubuntu-minimal-daily:24.04}" c1 -s "${poolName}" -c security.nesting=true
lxc launch "${TEST_IMG:-ubuntu:24.04}" c1 -s "${poolName}" -c security.nesting=true
lxc info c1

echo "==> Checking devlxd is working"
Expand Down Expand Up @@ -107,7 +107,7 @@ lxc monitor --type lifecycle --format json > monitor.json 2>&1 &
monitorPID="${!}"

# Launch an image we know is on the host.
lxc exec c1 -- /snap/bin/lxc launch "${TEST_IMG:-ubuntu-minimal-daily:24.04}" c1c1
lxc exec c1 -- /snap/bin/lxc launch "${TEST_IMG:-ubuntu:24.04}" c1c1
lxc exec c1 -- /snap/bin/lxc info c1c1 | grep -F RUNNING

kill -9 "${monitorPID}"
Expand Down

0 comments on commit 9a4ad31

Please sign in to comment.