set the autostart on all new vms
This commit is contained in:
parent
c7a431916f
commit
421b6e79b9
1 changed files with 1 additions and 1 deletions
|
@ -72,4 +72,4 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Create the VM
|
- name: Create the VM
|
||||||
command: virt-install --name={{ vmname }} --ram={{ ram }} --vcpus={{ vcpus }} --import --disk path={{ images_dir }}{{ vmname }}.img,format=qcow2 --cloud-init meta-data={{ images_dir }}meta-data,user-data={{ images_dir }}user-data --os-variant {{ os }} --network bridge=br0,model=virtio --graphics vnc,listen=0.0.0.0 --noautoconsole
|
command: virt-install --name={{ vmname }} --ram={{ ram }} --vcpus={{ vcpus }} --import --disk path={{ images_dir }}{{ vmname }}.img,format=qcow2 --cloud-init meta-data={{ images_dir }}meta-data,user-data={{ images_dir }}user-data --os-variant {{ os }} --network bridge=br0,model=virtio --graphics vnc,listen=0.0.0.0 --noautoconsole --autostart
|
||||||
|
|
Loading…
Reference in a new issue