mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-22 19:38:35 +00:00
feat(vm): OnBoot: change default to true
(#191)
vm: OnBoot: change default to `true` The `on_boot` parameter is used to start a VM when the node reboots. As the VM infrastructure should not really care whether an hypervisor has rebooted, we change the default value from `false` to `true` in order to make it explicit not to start the VM on reboot. Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu> Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
13080b44dc
commit
60a68184cf
@ -274,7 +274,7 @@ output "ubuntu_vm_public_key" {
|
||||
* `rate_limit` - (Optional) The rate limit in megabytes per second.
|
||||
* `vlan_id` - (Optional) The VLAN identifier.
|
||||
* `node_name` - (Required) The name of the node to assign the virtual machine to.
|
||||
* `on_boot` - (Optional) Specifies whether a VM will be started during system boot. (defaults to `false`)
|
||||
* `on_boot` - (Optional) Specifies whether a VM will be started during system boot. (defaults to `true`)
|
||||
* `operating_system` - (Optional) The Operating System configuration.
|
||||
* `type` - (Optional) The type (defaults to `other`).
|
||||
* `l24` - Linux Kernel 2.4.
|
||||
|
@ -24,7 +24,7 @@ import (
|
||||
|
||||
const (
|
||||
dvResourceVirtualEnvironmentVMRebootAfterCreation = false
|
||||
dvResourceVirtualEnvironmentVMOnBoot = false
|
||||
dvResourceVirtualEnvironmentVMOnBoot = true
|
||||
dvResourceVirtualEnvironmentVMACPI = true
|
||||
dvResourceVirtualEnvironmentVMAgentEnabled = false
|
||||
dvResourceVirtualEnvironmentVMAgentTimeout = "15m"
|
||||
|
Loading…
Reference in New Issue
Block a user