Commit ce47c6bd authored by Thomas Goirand's avatar Thomas Goirand

Use host CPU model for VMs in the -poc.

parent 4feca9e0
openstack-cluster-installer (17) UNRELEASED; urgency=medium
* Use host CPU model for VMs in the -poc.
-- Thomas Goirand <zigo@debian.org> Tue, 22 Jan 2019 10:14:26 +0100
openstack-cluster-installer (16) unstable; urgency=medium
* Add Gnocchi, Aodh, Cloudkitty and Octavia deployment.
......
......@@ -81,7 +81,7 @@ set_working_mc 0x20
guid a123456789abcdefa123456789abcdef
endlan
serial 15 localhost ${GUEST_IPMI_CHART_PORT} codec VM
startcmd \"qemu-system-x86_64 -enable-kvm -m size=${RAM}G -smp cpus=4 -cpu Broadwell-IBRS,+vmx,+spec-ctrl -vnc :${VNC_PORT} -pidfile ${VM_PID_FILE} -daemonize -drive if=virtio,file=${QCOW_PATH},index=0,media=disk,format=qcow2 ${SECOND_DRIVE} ${THIRD_DRIVE} -boot n -device e1000,netdev=net0,mac=${GUEST_MAC_ADDRESS_PREFIX}${MAC_END} -netdev tap,id=net0,ifname=${GUEST_TAPIF_PREFIX}${TAP_IFNAME_END},script=no,downscript=no -device e1000,netdev=net1,mac=${GUEST_MAC_ADDRESS_PREFIX2}${MAC_END} -netdev tap,id=net1,ifname=${GUEST_TAPIF_PREFIX}$((${TAP_IFNAME_END} + ${NUMBER_OF_GUESTS})),script=no,downscript=no -smbios type=3,manufacturer=LinuxKVM,serial=${MAC_END} -chardev socket,id=ipmi0,host=localhost,port=${GUEST_IPMI_CHART_PORT},reconnect=10 -device ipmi-bmc-extern,chardev=ipmi0,id=bmc0 -device isa-ipmi-kcs,bmc=bmc0,irq=5\"
startcmd \"qemu-system-x86_64 -enable-kvm -m size=${RAM}G -smp cpus=4 -cpu host,+vmx,+spec-ctrl -vnc :${VNC_PORT} -pidfile ${VM_PID_FILE} -daemonize -drive if=virtio,file=${QCOW_PATH},index=0,media=disk,format=qcow2 ${SECOND_DRIVE} ${THIRD_DRIVE} -boot n -device e1000,netdev=net0,mac=${GUEST_MAC_ADDRESS_PREFIX}${MAC_END} -netdev tap,id=net0,ifname=${GUEST_TAPIF_PREFIX}${TAP_IFNAME_END},script=no,downscript=no -device e1000,netdev=net1,mac=${GUEST_MAC_ADDRESS_PREFIX2}${MAC_END} -netdev tap,id=net1,ifname=${GUEST_TAPIF_PREFIX}$((${TAP_IFNAME_END} + ${NUMBER_OF_GUESTS})),script=no,downscript=no -smbios type=3,manufacturer=LinuxKVM,serial=${MAC_END} -chardev socket,id=ipmi0,host=localhost,port=${GUEST_IPMI_CHART_PORT},reconnect=10 -device ipmi-bmc-extern,chardev=ipmi0,id=bmc0 -device isa-ipmi-kcs,bmc=bmc0,irq=5\"
startnow true
user 1 true \"\" \"test\" user 10 none md2 md5 straight
user 2 true \"ipmiusr\" \"test\" admin 10 none md2 md5 straight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment