Browse Source

Add support for Fedora 31 (#46)

pull/49/head v0.10.1
John McFarlane 6 years ago committed by GitHub
parent
commit
09db542df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md
  2. 9
      kvm-install-vm
  3. 8
      tests/check_distributions.bats

1
README.md

@ -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

9
kvm-install-vm

@ -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"
@ -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"

8
tests/check_distributions.bats

@ -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
}

Loading…
Cancel
Save