Set the VM name from the script argument
This commit is contained in:
parent
8f304d00ce
commit
6c907419aa
@ -71,7 +71,7 @@ fi
|
|||||||
|
|
||||||
# setting --os-variant to ubuntu20.04 and ubuntu18.04 breaks SSH and networking
|
# setting --os-variant to ubuntu20.04 and ubuntu18.04 breaks SSH and networking
|
||||||
virt-install \
|
virt-install \
|
||||||
--name cloudinit-1 \
|
--name "$VMNAME" \
|
||||||
--ram "$RAM" \
|
--ram "$RAM" \
|
||||||
--vcpus "$CPUS" \
|
--vcpus "$CPUS" \
|
||||||
--cpu host \
|
--cpu host \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user