diff --git a/newvm.sh b/newvm.sh index 7150d7e..e2ebb3a 100755 --- a/newvm.sh +++ b/newvm.sh @@ -171,7 +171,8 @@ set -- \ --name ${name} \ --metadata title=${hostname} \ --memory ${memory} \ - --cpu host \ + --vcpus ${vcpus} \ + --cpu host-model \ --location ${location} \ --extra-args "${extra_args}" \ --disk pool=default,size=${disk_size},cache=none \