Browse Source

Added Fedora 27 and the atomic variant

pull/10/head
Giovanni Torres 8 years ago
parent
commit
2aeccff740
  1. 12
      kvm-install-vm
  2. 16
      tests/check_distributions.bats

12
kvm-install-vm

@ -252,6 +252,18 @@ function fetch_images ()
IMAGE_URL=https://download.fedoraproject.org/pub/alt/atomic/stable/Fedora-Atomic-26-20171003.0/CloudImages/x86_64/images
LOGIN_USER=fedora
;;
fedora27)
QCOW=Fedora-Cloud-Base-27-1.6.x86_64.qcow2
OS_VARIANT="fedora26"
IMAGE_URL=https://download.fedoraproject.org/pub/fedora/linux/releases/27/CloudImages/x86_64/images
LOGIN_USER=fedora
;;
fedora27-atomic)
QCOW=Fedora-Atomic-27-1.6.x86_64.qcow2
OS_VARIANT="fedora26"
IMAGE_URL=https://download.fedoraproject.org/pub/fedora/linux/releases/27/CloudImages/x86_64/images
LOGIN_USER=fedora
;;
ubuntu1604)
QCOW=ubuntu-16.04-server-cloudimg-amd64-disk1.img
OS_VARIANT="ubuntu16.04"

16
tests/check_distributions.bats

@ -40,6 +40,22 @@ function remove_test_vm ()
remove_test_vm fedora26
}
@test "Install VM (Fedora 27) - $VMNAME-fedora27" {
create_test_vm fedora27
}
@test "Install VM (Fedora 27 Atomic) - $VMNAME-fedora27-atomic" {
create_test_vm fedora27-atomic
}
@test "Delete VM (Fedora 27 Atomic) - $VMNAME-fedora27-atomic" {
remove_test_vm fedora27-atomic
}
@test "Delete VM (Fedora 27) - $VMNAME-fedora27" {
remove_test_vm fedora27
}
@test "Install VM (Ubuntu 16.04) - $VMNAME-ubuntu1604" {
create_test_vm ubuntu1604
}

Loading…
Cancel
Save