You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The primary options that effect the correct operation of Network PXE boot mode are:
117
+
118
+
*`boot`: a valid boot order must be specified with Network type first (eg `net0;scsi0` or `ncd`)
119
+
* a valid NIC attached to a network with a PXE boot server must be added to the VM
120
+
* generally speaking, disable the Agent (`agent = 0`) unless the installed OS contains the Agent in OS install configurations
121
+
83
122
## Argument reference
84
123
85
124
**Note: Except where explicitly stated in the description, all arguments are assumed to be optional.**
@@ -104,8 +143,9 @@ The following arguments are supported in the top level resource block.
104
143
|`boot`|`str`|`"cdn"`| The boot order for the VM. Ordered string of characters denoting boot order. Options: floppy (`a`), hard disk (`c`), CD-ROM (`d`), or network (`n`). |
105
144
|`bootdisk`|`str`|| Enable booting from specified disk. You shouldn't need to change it under most circumstances. |
106
145
|`agent`|`int`|`0`| Set to `1` to enable the QEMU Guest Agent. Note, you must run the [`qemu-guest-agent`](https://pve.proxmox.com/wiki/Qemu-guest-agent) daemon in the quest for this to have any effect. |
107
-
|`iso`|`str`|| The name of the ISO image to mount to the VM. Only applies when `clone` is not set. Either `clone` or `iso` needs to be set. |
108
-
|`clone`|`str`|| The base VM from which to clone to create the new VM. |
146
+
|`iso`|`str`|| The name of the ISO image to mount to the VM. Only applies when `clone` is not set. Either `clone` or `iso` needs to be set. Note that `iso` is mutually exclussive with `clone` and `pxe` modes. |
147
+
|`pxe`|`bool`|`false`| If set to `true`, enable PXE boot of the VM. Also requires a `boot` order be set with Network first (eg `boot = "net0;scsi0"`). Note that `pxe` is mutually exclussive with `iso` and `clone` modes. |
148
+
|`clone`|`str`|| The base VM from which to clone to create the new VM. Note that `clone` is mutually exclussive with `pxe` and `iso` modes. |
109
149
|`full_clone`|`bool`|`true`| Set to `true` to create a full clone, or `false` to create a linked clone. See the [docs about cloning](https://pve.proxmox.com/pve-docs/chapter-qm.html#qm_copy_and_clone) for more info. Only applies when `clone` is set. |
110
150
|`hastate`|`str`|| Requested HA state for the resource. One of "started", "stopped", "enabled", "disabled", or "ignored". See the [docs about HA](https://pve.proxmox.com/pve-docs/chapter-ha-manager.html#ha_manager_resource_config) for more info. |
111
151
|`hagroup`|`str`|| The HA group identifier the resource belongs to (requires `hastate` to be set!). See the [docs about HA](https://pve.proxmox.com/pve-docs/chapter-ha-manager.html#ha_manager_resource_config) for more info. |
0 commit comments