diff --git a/docs/resources/virtual_environment_vm.md b/docs/resources/virtual_environment_vm.md index ce3ece48..e61501c9 100644 --- a/docs/resources/virtual_environment_vm.md +++ b/docs/resources/virtual_environment_vm.md @@ -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. diff --git a/proxmoxtf/resource_virtual_environment_vm.go b/proxmoxtf/resource_virtual_environment_vm.go index 5316aa8f..3e508923 100644 --- a/proxmoxtf/resource_virtual_environment_vm.go +++ b/proxmoxtf/resource_virtual_environment_vm.go @@ -24,7 +24,7 @@ import ( const ( dvResourceVirtualEnvironmentVMRebootAfterCreation = false - dvResourceVirtualEnvironmentVMOnBoot = false + dvResourceVirtualEnvironmentVMOnBoot = true dvResourceVirtualEnvironmentVMACPI = true dvResourceVirtualEnvironmentVMAgentEnabled = false dvResourceVirtualEnvironmentVMAgentTimeout = "15m"