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