Skip to content

Commit

Permalink
Add support for Fedora 31 (giovtorres#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcfarlane authored Mar 7, 2020
1 parent d053064 commit 09db542
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 @@ -98,6 +98,7 @@ DISTRIBUTIONS
fedora27-atomic Fedora 27 Atomic Host fedora
fedora28 Fedora 28 fedora
fedora28-atomic Fedora 28 Atomic Host fedora
fedora31 Fedora 31 fedora
ubuntu1604 Ubuntu 16.04 LTS (Xenial Xerus) ubuntu
ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu
Expand Down
9 changes: 9 additions & 0 deletions kvm-install-vm
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function usage_subcommand ()
printf " fedora29 Fedora 29 fedora\n"
printf " fedora29-atomic Fedora 29 Atomic Host fedora\n"
printf " fedora30 Fedora 30 fedora\n"
printf " fedora31 Fedora 31 fedora\n"
printf " ubuntu1604 Ubuntu 16.04 LTS (Xenial Xerus) ubuntu\n"
printf " ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu\n"
printf "\n"
Expand Down Expand Up @@ -358,6 +359,14 @@ function fetch_images ()
DISK_FORMAT=qcow2
LOGIN_USER=fedora
;;
fedora31)
QCOW=Fedora-Cloud-Base-31-1.9.x86_64.qcow2
OS_TYPE="linux"
OS_VARIANT="fedora31"
IMAGE_URL=https://download.fedoraproject.org/pub/fedora/linux/releases/31/Cloud/x86_64/images
DISK_FORMAT=qcow2
LOGIN_USER=fedora
;;
ubuntu1604)
QCOW=ubuntu-16.04-server-cloudimg-amd64-disk1.img
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 @@ -56,6 +56,14 @@ function remove_test_vm ()
remove_test_vm fedora28
}

@test "Install VM (Fedora 31) - $VMNAME-fedora31" {
create_test_vm fedora31
}

@test "Delete VM (Fedora 31) - $VMNAME-fedora31" {
remove_test_vm fedora31
}

@test "Install VM (Ubuntu 16.04) - $VMNAME-ubuntu1604" {
create_test_vm ubuntu1604
}
Expand Down

0 comments on commit 09db542

Please sign in to comment.