Document network path (#9762)
This commit is contained in:
parent
a2277e312f
commit
acba3ea3e7
|
@ -32,8 +32,10 @@ type CloneConfig struct {
|
|||
DiskSize int64 `mapstructure:"disk_size"`
|
||||
// Create VM as a linked clone from latest snapshot. Defaults to `false`.
|
||||
LinkedClone bool `mapstructure:"linked_clone"`
|
||||
// Set the network in which the VM will be connected to. If no network is specified, `host`
|
||||
// must be specified to allow Packer to look for the available network.
|
||||
// Set the network in which the VM will be connected to. If no network is
|
||||
// specified, `host` must be specified to allow Packer to look for the
|
||||
// available network. If the network is inside a network folder in vCenter,
|
||||
// you need to provide the full path to the network.
|
||||
Network string `mapstructure:"network"`
|
||||
// VM notes.
|
||||
Notes string `mapstructure:"notes"`
|
||||
|
|
|
@ -43,8 +43,10 @@ import (
|
|||
// }
|
||||
// ```
|
||||
type NIC struct {
|
||||
// Set the network in which the VM will be connected to. If no network is specified, `host`
|
||||
// must be specified to allow Packer to look for the available network.
|
||||
// Set the network in which the VM will be connected to. If no network is
|
||||
// specified, `host` must be specified to allow Packer to look for the
|
||||
// available network. If the network is inside a network folder in vCenter,
|
||||
// you need to provide the full path to the network.
|
||||
Network string `mapstructure:"network"`
|
||||
// Set VM network card type. Example `vmxnet3`.
|
||||
NetworkCard string `mapstructure:"network_card" required:"true"`
|
||||
|
|
|
@ -6,8 +6,10 @@
|
|||
|
||||
- `linked_clone` (bool) - Create VM as a linked clone from latest snapshot. Defaults to `false`.
|
||||
|
||||
- `network` (string) - Set the network in which the VM will be connected to. If no network is specified, `host`
|
||||
must be specified to allow Packer to look for the available network.
|
||||
- `network` (string) - Set the network in which the VM will be connected to. If no network is
|
||||
specified, `host` must be specified to allow Packer to look for the
|
||||
available network. If the network is inside a network folder in vCenter,
|
||||
you need to provide the full path to the network.
|
||||
|
||||
- `notes` (string) - VM notes.
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<!-- Code generated from the comments of the NIC struct in builder/vsphere/iso/step_create.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `network` (string) - Set the network in which the VM will be connected to. If no network is specified, `host`
|
||||
must be specified to allow Packer to look for the available network.
|
||||
- `network` (string) - Set the network in which the VM will be connected to. If no network is
|
||||
specified, `host` must be specified to allow Packer to look for the
|
||||
available network. If the network is inside a network folder in vCenter,
|
||||
you need to provide the full path to the network.
|
||||
|
||||
- `mac_address` (string) - Set network card MAC address
|
||||
|
||||
|
|
Loading…
Reference in New Issue