Skip to content

Commit ec4d27b

Browse files
authored
Add support for Ubuntu 20.04 "Focal Fossa" (#58)
1 parent 5d5668d commit ec4d27b

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ DISTRIBUTIONS
104104
opensuse15 OpenSUSE Leap 15.2 opensuse
105105
ubuntu1604 Ubuntu 16.04 LTS (Xenial Xerus) ubuntu
106106
ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu
107+
ubuntu2004 Ubuntu 20.04 LTS (Focal Fossa) ubuntu
107108
108109
EXAMPLES
109110
kvm-install-vm create foo

kvm-install-vm

+9
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ function usage_subcommand ()
8484
printf " opensuse15 OpenSUSE Leap 15.2 opensuse\n"
8585
printf " ubuntu1604 Ubuntu 16.04 LTS (Xenial Xerus) ubuntu\n"
8686
printf " ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu\n"
87+
printf " ubuntu2004 Ubuntu 20.04 LTS (Focal Fossa) ubuntu\n"
8788
printf "\n"
8889
printf "EXAMPLES\n"
8990
printf " $prog create foo\n"
@@ -402,6 +403,14 @@ function fetch_images ()
402403
DISK_FORMAT=qcow2
403404
LOGIN_USER=ubuntu
404405
;;
406+
ubuntu2004)
407+
QCOW=ubuntu-20.04-server-cloudimg-amd64.img
408+
OS_TYPE="linux"
409+
OS_VARIANT="ubuntu20.04"
410+
IMAGE_URL=https://cloud-images.ubuntu.com/releases/20.04/release
411+
DISK_FORMAT=qcow2
412+
LOGIN_USER=ubuntu
413+
;;
405414
opensuse15)
406415
QCOW=openSUSE-Leap-15.2-OpenStack.x86_64.qcow2
407416
OS_TYPE="linux"

tests/check_distributions.bats

+8
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ function remove_test_vm ()
8888
remove_test_vm ubuntu1804
8989
}
9090

91+
@test "Install VM (Ubuntu 20.04) - $VMNAME-ubuntu2004" {
92+
create_test_vm ubuntu2004
93+
}
94+
95+
@test "Delete VM (Ubuntu 20.04) - $VMNAME-ubuntu2004" {
96+
remove_test_vm ubuntu2004
97+
}
98+
9199
@test "Install VM (Debian 9) - $VMNAME-debian9" {
92100
create_test_vm debian9
93101
}

0 commit comments

Comments
 (0)