Skip to content

Commit

Permalink
Add support for Ubuntu 20.04 "Focal Fossa" (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
berkutta authored May 16, 2020
1 parent 5d5668d commit ec4d27b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ DISTRIBUTIONS
opensuse15 OpenSUSE Leap 15.2 opensuse
ubuntu1604 Ubuntu 16.04 LTS (Xenial Xerus) ubuntu
ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu
ubuntu2004 Ubuntu 20.04 LTS (Focal Fossa) ubuntu
EXAMPLES
kvm-install-vm create foo
Expand Down
9 changes: 9 additions & 0 deletions kvm-install-vm
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function usage_subcommand ()
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"
printf " ubuntu2004 Ubuntu 20.04 LTS (Focal Fossa) ubuntu\n"
printf "\n"
printf "EXAMPLES\n"
printf " $prog create foo\n"
Expand Down Expand Up @@ -402,6 +403,14 @@ function fetch_images ()
DISK_FORMAT=qcow2
LOGIN_USER=ubuntu
;;
ubuntu2004)
QCOW=ubuntu-20.04-server-cloudimg-amd64.img
OS_TYPE="linux"
OS_VARIANT="ubuntu20.04"
IMAGE_URL=https://cloud-images.ubuntu.com/releases/20.04/release
DISK_FORMAT=qcow2
LOGIN_USER=ubuntu
;;
opensuse15)
QCOW=openSUSE-Leap-15.2-OpenStack.x86_64.qcow2
OS_TYPE="linux"
Expand Down
8 changes: 8 additions & 0 deletions tests/check_distributions.bats
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ function remove_test_vm ()
remove_test_vm ubuntu1804
}

@test "Install VM (Ubuntu 20.04) - $VMNAME-ubuntu2004" {
create_test_vm ubuntu2004
}

@test "Delete VM (Ubuntu 20.04) - $VMNAME-ubuntu2004" {
remove_test_vm ubuntu2004
}

@test "Install VM (Debian 9) - $VMNAME-debian9" {
create_test_vm debian9
}
Expand Down

0 comments on commit ec4d27b

Please sign in to comment.