Files
training-labs/labs/osbash/config/provider.kvm
Roger Luethi 9f3641e9a6 Shut down running labs VMs before building cluster
Running cluster VMs from an earlier cluster build have the potential to
influence nodes (especially the controller node) while they are being
built.

To prevent that, this patch sends an ACPI powerbutton signal to all VMs
in the group VM_GROUP.

For KVM, we use the VM description's title field to store the group
name.

Change-Id: Ibe0a38a407c5e569b9a792faa7cf8b184f35022a
2015-12-31 15:33:08 +01:00

15 lines
417 B
Bash

# KVM specific settings; used by osbash
: ${KVM_VOL_POOL:=default}
: ${LIBVIRT_CONNECT_URI:=qemu:///system}
: ${VIRSH_CALL:=sudo virsh --connect=$LIBVIRT_CONNECT_URI}
: ${VIRT_INSTALL_CALL:=sudo virt-install --connect=$LIBVIRT_CONNECT_URI}
# KVM VM group (stored in VM description)
: ${VM_GROUP:=OpenStack training-labs}
# VM GUI type (one of headless, gui, vnc)
: ${VM_UI:=vnc}
# vim: set ai ts=4 sw=4 et ft=sh: