newvm: Fix vCPU count/CPU model
Although the `newvm.sh` script had a `--vcpus` argument, its value was never being used. The `--cpu host` argument for `virt-install` is deprecated in favor of `--cpu host`.unifi-restore
parent
04718fa6d0
commit
51e8cae618
3
newvm.sh
3
newvm.sh
|
@ -171,7 +171,8 @@ set -- \
|
||||||
--name ${name} \
|
--name ${name} \
|
||||||
--metadata title=${hostname} \
|
--metadata title=${hostname} \
|
||||||
--memory ${memory} \
|
--memory ${memory} \
|
||||||
--cpu host \
|
--vcpus ${vcpus} \
|
||||||
|
--cpu host-model \
|
||||||
--location ${location} \
|
--location ${location} \
|
||||||
--extra-args "${extra_args}" \
|
--extra-args "${extra_args}" \
|
||||||
--disk pool=default,size=${disk_size},cache=none \
|
--disk pool=default,size=${disk_size},cache=none \
|
||||||
|
|
Loading…
Reference in New Issue