Set the VM name from the script argument

This commit is contained in:
Greg Karékinian 2020-12-08 17:10:40 +01:00
parent 8f304d00ce
commit 6c907419aa

View File

@ -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 \