diff --git a/kvm-install-vm b/kvm-install-vm index 9a3dc1f..51f3ef5 100755 --- a/kvm-install-vm +++ b/kvm-install-vm @@ -82,6 +82,7 @@ function usage_subcommand () printf " fedora30 Fedora 30 fedora\n" printf " fedora31 Fedora 31 fedora\n" printf " fedora32 Fedora 32 fedora\n" + printf " fedora33 Fedora 33 fedora\n" printf " opensuse15 OpenSUSE Leap 15.2 opensuse\n" printf " ubuntu1604 Ubuntu 16.04 LTS (Xenial Xerus) ubuntu\n" printf " ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu\n" @@ -396,6 +397,14 @@ function fetch_images () DISK_FORMAT=qcow2 LOGIN_USER=fedora ;; + fedora33) + QCOW=Fedora-Cloud-Base-33-1.2.x86_64.qcow2 + OS_TYPE="linux" + OS_VARIANT="fedora33" + IMAGE_URL=https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images + DISK_FORMAT=qcow2 + LOGIN_USER=fedora + ;; ubuntu1604) QCOW=ubuntu-16.04-server-cloudimg-amd64-disk1.img OS_TYPE="linux" diff --git a/tests/check_distributions.bats b/tests/check_distributions.bats index 2e63a6d..98584bf 100644 --- a/tests/check_distributions.bats +++ b/tests/check_distributions.bats @@ -80,6 +80,14 @@ function remove_test_vm () remove_test_vm fedora32 } +@test "Install VM (Fedora 33) - $VMNAME-fedora33" { + create_test_vm fedora33 +} + +@test "Delete VM (Fedora 33) - $VMNAME-fedora33" { + remove_test_vm fedora33 +} + @test "Install VM (Ubuntu 16.04) - $VMNAME-ubuntu1604" { create_test_vm ubuntu1604 }