Browse Source

Add Ubuntu 24.04 LTS (Noble Numbat)

pull/79/head
Ictus 2 years ago
parent
commit
57f1fdd4a0
No known key found for this signature in database
GPG Key ID: F9E8FF2C261510CD
  1. 9
      kvm-install-vm
  2. 8
      tests/check_distributions.bats

9
kvm-install-vm

@ -89,6 +89,7 @@ function usage_subcommand ()
printf " ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu\n"
printf " ubuntu2004 Ubuntu 20.04 LTS (Focal Fossa) ubuntu\n"
printf " ubuntu2204 Ubuntu 22.04 LTS (Jammy Jellyfish) ubuntu\n"
printf " ubuntu2404 Ubuntu 24.04 LTS (Noble Numbat) ubuntu\n"
printf " rocky8.5 Rocky Linux rocky\n"
printf "\n"
printf "EXAMPLES\n"
@ -448,6 +449,14 @@ function fetch_images ()
DISK_FORMAT=qcow2
LOGIN_USER=ubuntu
;;
ubuntu2404)
QCOW=ubuntu-24.04-server-cloudimg-amd64.img
OS_TYPE="linux"
OS_VARIANT="ubuntu24.04"
IMAGE_URL=https://cloud-images.ubuntu.com/releases/24.04/release
DISK_FORMAT=qcow2
LOGIN_USER=ubuntu
;;
opensuse15)
QCOW=openSUSE-Leap-15.2-OpenStack.x86_64.qcow2
OS_TYPE="linux"

8
tests/check_distributions.bats

@ -120,6 +120,14 @@ function remove_test_vm ()
remove_test_vm ubuntu2004
}
@test "Install VM (Ubuntu 24.04) - $VMNAME-ubuntu2404" {
create_test_vm ubuntu2404
}
@test "Delete VM (Ubuntu 24.04) - $VMNAME-ubuntu2404" {
remove_test_vm ubuntu2404
}
@test "Install VM (Debian 9) - $VMNAME-debian9" {
create_test_vm debian9
}

Loading…
Cancel
Save