autostart VM
This commit is contained in:
parent
1e75ff6374
commit
76fcb3a013
1 changed files with 8 additions and 7 deletions
1
main.tf
1
main.tf
|
@ -36,6 +36,7 @@ resource "libvirt_domain" "ubuntu" {
|
||||||
name = "hermes"
|
name = "hermes"
|
||||||
memory = 1024
|
memory = 1024
|
||||||
vcpu = 4
|
vcpu = 4
|
||||||
|
autostart = true
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
volume_id = libvirt_volume.main_disk.id
|
volume_id = libvirt_volume.main_disk.id
|
||||||
|
|
Reference in a new issue