summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-11-08 16:33:09 +0100
committerJonathan Bauer2018-11-08 16:33:09 +0100
commit4f4021f5d7aa6ee150837983ca8c36ddbcda802b (patch)
tree2809607fc477722091542531bc1b8ee1a510921f
parentdo not install multiple language packs (diff)
downloadpacker-templates-4f4021f5d7aa6ee150837983ca8c36ddbcda802b.tar.gz
packer-templates-4f4021f5d7aa6ee150837983ca8c36ddbcda802b.tar.xz
packer-templates-4f4021f5d7aa6ee150837983ca8c36ddbcda802b.zip
ubuntu: make sure host cpu is passed to vm
-rw-r--r--ubuntu-18.04-amd64.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubuntu-18.04-amd64.json b/ubuntu-18.04-amd64.json
index 8af8c30..c3a76f9 100644
--- a/ubuntu-18.04-amd64.json
+++ b/ubuntu-18.04-amd64.json
@@ -47,6 +47,7 @@
"ssh_password": "{{ user `ssh_password` }}",
"shutdown_command": "{{ user `shutdown_command` }}",
"qemuargs": [
+ ["-cpu", "host"],
["-m", "{{user `memory`}}"],
["-smp", "{{user `cpus`}}"]
]