Add startup
This commit is contained in:
@@ -15,8 +15,8 @@ resource "proxmox_vm_qemu" "cloudinit-test1" {
|
|||||||
|
|
||||||
os_type = "cloud-init"
|
os_type = "cloud-init"
|
||||||
cpu {
|
cpu {
|
||||||
cores = 2
|
cores = 4
|
||||||
sockets = 1
|
sockets = 2
|
||||||
type = "host"
|
type = "host"
|
||||||
}
|
}
|
||||||
memory = 4096
|
memory = 4096
|
||||||
@@ -55,6 +55,13 @@ resource "proxmox_vm_qemu" "cloudinit-test1" {
|
|||||||
type = "virtio"
|
type = "virtio"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
startup_shutdown {
|
||||||
|
order = -1
|
||||||
|
shutdown_timeout = -1
|
||||||
|
startup_delay = -1
|
||||||
|
}
|
||||||
|
|
||||||
# Setup the ip address using cloud-init.
|
# Setup the ip address using cloud-init.
|
||||||
boot = "order=scsi0"
|
boot = "order=scsi0"
|
||||||
# Keep in mind to use the CIDR notation for the ip.
|
# Keep in mind to use the CIDR notation for the ip.
|
||||||
|
|||||||
Reference in New Issue
Block a user