mirror of https://github.com/hashicorp/packer
adding examples, updating .gitattributes so *.mdx files have LF endings for windowspull/9056/head
parent
a1d14c75f4
commit
7f0dbdebb2
@ -1,4 +1,4 @@
|
||||
<!-- Code generated from the comments of the DiskConfig struct in builder/vsphere/iso/step_create.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `disk_size` (int64) - Set the size of the disk
|
||||
- `disk_size` (int64) - The size of the disk in MB.
|
||||
|
||||
@ -0,0 +1,16 @@
|
||||
<!-- Code generated from the comments of the DiskConfig struct in builder/vsphere/iso/step_create.go; DO NOT EDIT MANUALLY -->
|
||||
Defines the disk storage for a VM.
|
||||
|
||||
Example that will create a 15GB and a 20GB disk on the VM. The second disk will be thin provisioned:
|
||||
|
||||
```json
|
||||
"storage": [
|
||||
{
|
||||
"disk_size": 15000,
|
||||
},
|
||||
{
|
||||
"disk_size": 20000,
|
||||
"disk_thin_provisioned": true
|
||||
}
|
||||
],
|
||||
```
|
||||
@ -0,0 +1,17 @@
|
||||
<!-- Code generated from the comments of the NIC struct in builder/vsphere/iso/step_create.go; DO NOT EDIT MANUALLY -->
|
||||
Defines a Network Adapter
|
||||
|
||||
Example that creates two network adapters:
|
||||
|
||||
```json
|
||||
"network_adapters": [
|
||||
{
|
||||
"network": "VM Network",
|
||||
"network_card": "vmxnet3"
|
||||
},
|
||||
{
|
||||
"network": "OtherNetwork",
|
||||
"network_card": "vmxnet3"
|
||||
}
|
||||
],
|
||||
```
|
||||
Loading…
Reference in new issue