Commit f3504c68 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

images: also allow extended images to build without kvm

Removes the -cpu host parameter to qemu which only works with kvm.
parent a8e057dd
...@@ -35,8 +35,7 @@ source "qemu" "autogenerated_1" { ...@@ -35,8 +35,7 @@ source "qemu" "autogenerated_1" {
memory = "${var.memory}" memory = "${var.memory}"
net_device = "virtio-net" net_device = "virtio-net"
output_directory = "output-${var.outname}" output_directory = "output-${var.outname}"
qemuargs = [["-machine", "pc-q35-4.2,accel=kvm:tcg,usb=off,vmport=off,dump-guest-core=off"], qemuargs = [["-machine", "pc-q35-4.2,accel=kvm:tcg,usb=off,vmport=off,dump-guest-core=off"]]
["-cpu", "host"]]
shutdown_command = "sudo shutdown --poweroff --no-wall now" shutdown_command = "sudo shutdown --poweroff --no-wall now"
ssh_password = "ubuntu" ssh_password = "ubuntu"
ssh_username = "ubuntu" ssh_username = "ubuntu"
......
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