mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
libvirt: don't pass --pxe
In virt-install v1.4.2, the meaning of `--pxe` changed from "allow pxe boot" to "always pxe boot." This breaks matchbox, since we expect hosts to pxe-boot only with empty hds. On hosts with v1.4.2, the VMs loop, re-installing CL over and over. The flag isn't necessary anyways, since we pass `--boot=hd,network`, which enables pxe-booting.
This commit is contained in:
@@ -41,7 +41,7 @@ function usage {
|
||||
echo -e "\tdestroy\t\tdestroy the QEMU/KVM nodes"
|
||||
}
|
||||
|
||||
COMMON_VIRT_OPTS="--memory=${VM_MEMORY} --vcpus=1 --pxe --disk pool=default,size=${VM_DISK} --os-type=linux --os-variant=generic --noautoconsole --events on_poweroff=preserve"
|
||||
COMMON_VIRT_OPTS="--memory=${VM_MEMORY} --vcpus=1 --disk pool=default,size=${VM_DISK} --os-type=linux --os-variant=generic --noautoconsole --events on_poweroff=preserve"
|
||||
|
||||
NODE1_NAME=node1
|
||||
NODE1_MAC=52:54:00:a1:9c:ae
|
||||
|
||||
Reference in New Issue
Block a user