vagrant-vmware-esxi 1.5.1 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b92afbc9482ac549c970e2c84ea07fe5587d974c
4
- data.tar.gz: 79c8419bbd5adae8f898a8912c5488ea831c95a5
3
+ metadata.gz: d5daa11a6e5b364f38c0676918faa0b733e8dc3c
4
+ data.tar.gz: dd212a04fa4836c7f187c336a9783f5975272eb1
5
5
  SHA512:
6
- metadata.gz: 4478fa07e0fab8e0a189f1594bacccac3c7feab631017c7b06358822a7172fe1b126bad01e789c1e00fe35a97cc14dcde17430effd2629f3d7a244a3b60aaaa7
7
- data.tar.gz: c1f9714571f9a06b2deab547a6fc92979844b429ea271472cb63be192fa8b8098363aa6b6b0c529b5cf2ec694d94802d5c444c664ec5aa28eceb430e275f982a
6
+ metadata.gz: a515dc8d554fc85b8023f0414014ff966c41063adfa6ed9a9bdcae9dc14d2a289afe242ede60e89d6455afffc121ba9b851a7be7be89b6a907c6565bc0005e4b
7
+ data.tar.gz: cd4f60c7d90e86e23b2ecfb210c0e7b1ece805e6072f647e364127a40af3db9be7e19d18d86b9da922698be4396391e2211d5db8fce96f9a644f177830de6c48
data/README.md CHANGED
@@ -39,7 +39,7 @@ Requirements
39
39
  3. You MUST enable ssh access on your ESXi hypervisor.
40
40
  * Google 'How to enable ssh access on esxi'
41
41
  4. The boxes must have open-vm-tools or vmware-tools installed to properly transition to the 'running' state.
42
- 5. You should know how to use vagrant in general...
42
+ 5. In general, you should know how to use vagrant and esxi...
43
43
 
44
44
  Why this plugin?
45
45
  ----------------
@@ -60,6 +60,9 @@ How to use and configure a Vagrantfile
60
60
  1. `vagrant init`
61
61
  1. `vi Vagrantfile` # See below to setup access your ESXi host and to set some preferences.
62
62
  ```ruby
63
+ #
64
+ # Fully documented Vagrantfile available
65
+ # in the wiki: https://github.com/josenk/vagrant-vmware-esxi/wiki
63
66
  Vagrant.configure('2') do |config|
64
67
 
65
68
  # Box, Select any box created for VMware that is compatible with
@@ -85,19 +88,17 @@ Vagrant.configure('2') do |config|
85
88
  #config.vm.box = 'puphpet/debian75-x64'
86
89
 
87
90
 
88
- # Use rsync or NFS synced folders. (or disable them)
91
+ # Use rsync and NFS synced folders. (or disable them)
89
92
  config.vm.synced_folder('.', '/vagrant', type: 'rsync')
90
93
  config.vm.synced_folder('.', '/vagrant', type: 'nfs', disabled: true)
91
94
 
92
95
  # Vagrant can set a static IP for the additional network interfaces. Use
93
96
  # public_network or private_network to manually set a static IP and
94
97
  # netmask. ESXi doesn't use the concept of public or private networks so
95
- # both are valid here. 'bridge' will be ignored. Netmask is optional if
96
- # you are using standard Class A/B/C networks. The primary network
97
- # interface is considered the management interface to Vagrant and cannot
98
- # be changed. It's highly recommended to correctly configure a
99
- # new esxi.virtual_network for each static IP you configure.
100
- # *** Invalid settings could cause 'vagrant up' to fail ***
98
+ # both are valid here. The primary network interface is considered the
99
+ # "vagrant management" interface and cannot be changed,
100
+ # so you can specify 3 entries here!
101
+ # *** Invalid settings could cause 'vagrant up' to fail ***
101
102
  #config.vm.network 'private_network', ip: '192.168.10.170', netmask: '255.255.255.0'
102
103
  #config.vm.network 'private_network', ip: '192.168.11.170'
103
104
  #config.vm.network 'public_network', ip: '192.168.12.170'
@@ -108,170 +109,91 @@ Vagrant.configure('2') do |config|
108
109
  config.vm.provider :vmware_esxi do |esxi|
109
110
 
110
111
  # REQUIRED! ESXi hostname/IP
111
- # You MUST specify a esxi_hostname or IP, uless you
112
- # were lucky enough to name your esxi host 'esxi'. :-)
113
112
  esxi.esxi_hostname = 'esxi'
114
113
 
115
114
  # ESXi username
116
- # Default is 'root'.
117
115
  esxi.esxi_username = 'root'
118
116
 
119
- #
120
- # IMPORTANT! ESXi password.
121
- # *** NOTES about esxi_passwords & ssh keys!! ***
122
- #
117
+ # IMPORTANT! Set ESXi password.
123
118
  # 1) 'prompt:'
124
- # This will prompt you for the esxi password each time you
125
- # run a vagrant command. This is the default.
126
- #
127
119
  # 2) 'file:' or 'file:my_secret_file'
128
- # This will read a plain text file containing the esxi
129
- # password. The default filename is ~/.esxi_password, or
130
- # you can specify any filename after the colon ':'.
131
- #
132
120
  # 3) 'env:' or 'env:my_secret_env_var'
133
- # This will read the esxi password via an environment
134
- # variable. The default is $esxi_password, but you can
135
- # specify any environment variable after the colon ':'.
136
- #
137
- # $ export esxi_password='my_secret_password'
138
- #
139
- # 4) 'key:' or key:~/.ssh/some_ssh_private_key'
140
- # Use ssh keys. The default is to use the system private keys,
141
- # or you specify a custom private key after the colon ':'.
142
- #
143
- # To test connectivity. From your command line, you should be able to
144
- # run following command without an error and get an esxi prompt.
145
- #
146
- # $ ssh root@ESXi_IP_ADDRESS
147
- #
148
- # The ssh connections to esxi will try the ssh private
149
- # keys. However the ovftool does NOT! To make
150
- # vagrant fully password-less, you will need to use other
151
- # options. (set the password, use 'env:' or 'file:')
152
- #
153
- # 5) esxi.esxi_password = 'my_esxi_password'
154
- # Enter your esxi passowrd in clear text here... This is the
155
- # least secure method because you may share this Vagrant file without
156
- # realizing the password is in clear text.
121
+ # 4) 'key:' or key:~/.ssh/some_ssh_private_key'
122
+ # 5) or esxi.esxi_password = 'my_esxi_password'
157
123
  #
158
- # IMPORTANT! Set the ESXi password or authentication method..
159
124
  esxi.esxi_password = 'prompt:'
160
125
 
161
126
  # SSH port.
162
- # Default port 22.
163
127
  #esxi.esxi_hostport = 22
164
128
 
165
129
  # HIGHLY RECOMMENDED! Virtual Network
166
- # You should specify a Virtual Network. Vagrant needs to know which
167
- # 'ESXi virtual_network' is used for each nic in your VM.
168
- # If it's not specified, the default is to use the first ESXi
169
- # virtual_network found. You can specify up to 4 virtual networks
170
- # using an array format. NOTE: This does not configure IP addresses.
171
- # For most OS's DHCP is the default, so you will need a DHCP server for
172
- # each ESXi virtual network. To set a static IP address on the
173
- # second, third or 4th interface, see above 'config.vm.network'.
174
- #
175
- #esxi.virtual_network = ['vmnet1','vmnet2','vmnet3','vmnet4']
176
-
177
- # OPTIONAL & RISKY. Specify up to 4 MAC addresses
178
- # The default is for ovftool to automatically generate a MAC address.
179
- # You can specify an array of MAC addresses using upper or lower case,
180
- # separated by colons ':'. I highly recommend using vmware's OUI
181
- # of '00:50:56' or '00:0c:29'. I consider this option a risk
182
- # because you may reuse a Vagrantfile without realizing you are
183
- # duplicating the MAC address.
184
- # *** Invalid settings could cause 'vagrant up' to fail ***
185
- #esxi.mac_address = ['00:50:56:aa:bb:cc', '00:50:56:01:01:01','00:50:56:02:02:02','00:50:56:BE:AF:01' ]
186
-
187
- # OPTIONAL & RISKY. Specify a nic_type
188
- # The default is to have the virtual nic hw type automatically
189
- # determined by the ovftool. However, you can override it by specifying
190
- # it here. This is a global setting. (all 4 virtual networks will be set)
191
- # The validated list of nic_types are 'e1000', 'e1000e', 'vmxnet',
192
- # 'vmxnet2', 'vmxnet3', 'Vlance', and 'Flexible'. I consider this
193
- # risky because I don't validate if the specified nic_type is
194
- # compatible with your OS version.
195
- # *** Invalid settings could cause 'vagrant up' to fail ***
196
- #esxi.nic_type = 'e1000'
130
+ # You should specify a Virtual Network! If it's not specified, the
131
+ # default is to use the first found. You can specify up to 4 virtual
132
+ # networks using an array format.
133
+ #esxi.esxi_virtual_network = ['vmnet1','vmnet2','vmnet3','vmnet4']
197
134
 
198
135
  # OPTIONAL. Specify a Disk Store
199
- # If it's not specified, the Default is to use the least used Disk Store.
200
- #esxi.vm_disk_store = 'DS_001'
136
+ #esxi.esxi_disk_store = 'DS_001'
201
137
 
202
- # OPTIONAL. Specify a disk type.
203
- # If unspecified, the default is 'thin', Otherwise, you can set to:
204
- # 'thin', 'thick', or 'eagerzeroedthick'
205
- #esxo.vm_disk_type = 'thick'
138
+ # OPTIONAL. Resource Pool
139
+ # Vagrant will NOT create a Resource pool it for you.
140
+ #esxi.esxi_resource_pool = '/Vagrant'
206
141
 
207
142
  # OPTIONAL. Guest VM name to use.
208
- # The Default will be automatically generated. It will be based on
209
- # the vmname_prefix (see below), your hostname & username and path.
210
- # Otherwise you can set a fixed guest VM name here.
211
- #esxi.vmname = 'Custom-Guest-VM_Name'
143
+ # The Default will be automatically generated.
144
+ #esxi.guest_name = 'Custom-Guest-VM_Name'
145
+
146
+ # OPTIONAL. When automatically naming VMs, use this prifix.
147
+ #esxi.guest_name_prefix = 'V-'
148
+
212
149
 
213
- # OPTIONAL. When automatically naming VMs, use
214
- # this prifix.
215
- #esxi.vmname_prefix = 'V-'
150
+ # OPTIONAL. Set the guest username login. The default is 'vagrant'.
151
+ #esxi.guest_username = 'vagrant'
216
152
 
217
153
  # OPTIONAL. Memory size override
218
- # The default is to use the memory size specified in the
219
- # vmx file, however you can specify a new value here.
220
- #esxi.memsize = '2048'
154
+ #esxi.guest_memsize = '2048'
221
155
 
222
156
  # OPTIONAL. Virtual CPUs override
223
- # The default is to use the number of virtual cpus specified
224
- # in the vmx file, however you can specify a new value here.
225
- #esxi.numvcpus = '2'
157
+ #esxi.guest_numvcpus = '2'
226
158
 
227
- # OPTIONAL. Resource Pool
228
- # If unspecified, the default is to create VMs in the 'root'. You can
229
- # specify a resource pool here to partition memory and cpu usage away
230
- # from other systems on your esxi host. The resource pool must
231
- # already exist and have the proper permissions set.
232
- #
233
- # Vagrant will NOT create a Resource pool it for you.
234
- #esxi.resource_pool = '/Vagrant'
235
-
236
- # RISKY. guestos
237
- # if unspecified, the default will be generated by the OVFTool. Most
238
- # of the time, you don't need to change this unless ovftool doesn't get
239
- # the correct information from the box. See my page on supported guestos
240
- # types for ESXI.
241
- # https://github.com/josenk/vagrant-vmware-esxi/ESXi_guestos_types.md
242
- #esxi.guestos = 'centos7-64'
243
-
244
- # OPTIONAL. virtualhw_version
245
- # If unspecified, the default will be generated by the OVFTool. Most
246
- # of the time, you don't need to change this unless you are using very
247
- # advanced custom vmx settings that require it.
159
+ # OPTIONAL & RISKY. Specify up to 4 MAC addresses
160
+ # The default is ovftool to automatically generate a MAC address.
161
+ # You can specify an array of MAC addresses using upper or lower case,
162
+ # separated by colons ':'.
163
+ #esxi.guest_mac_address = ['00:50:56:aa:bb:cc', '00:50:56:01:01:01','00:50:56:02:02:02','00:50:56:BE:AF:01' ]
164
+
165
+ # OPTIONAL & RISKY. Specify a guest_nic_type
166
+ # The validated list of guest_nic_types are 'e1000', 'e1000e', 'vmxnet',
167
+ # 'vmxnet2', 'vmxnet3', 'Vlance', and 'Flexible'.
168
+ #esxi.guest_nic_type = 'e1000'
169
+
170
+ # OPTIONAL. Specify a disk type.
171
+ # If unspecified, it will be set to 'thin'. Otherwise, you can set to
172
+ # 'thin', 'thick', or 'eagerzeroedthick'
173
+ #esxi.guest_disk_type = 'thick'
174
+
175
+ # OPTIONAL. specify snapshot options.
176
+ #esxi.guest_snapshot_includememory = 'true'
177
+ #esxi.guest_snapshot_quiesced = 'true'
178
+
179
+ # RISKY. guest_guestos
180
+ # https://github.com/josenk/vagrant-vmware-esxi/ESXi_guest_guestos_types.md
181
+ #esxi.guest_guestos = 'centos-64'
182
+
183
+ # OPTIONAL. guest_virtualhw_version
248
184
  # ESXi 6.5 supports these versions. 4,7,8,9,10,11,12 & 13.
249
- #esxi.virtualhw_version = '11'
250
-
251
- # RISKY. custom_vmx_settings
252
- # You can specify an array of custom vmx settings to add (or to override
253
- # existing settings). **** I don't do any validation, so if you
254
- # make any errors, it will not be caught *** This is the place you would
255
- # add any special settings you need in your vmx. (Like adding a USB, DVD
256
- # CPU settings, etc...).
257
- # ex vhv.enable = 'TRUE' will be appended, floppy0.presend = 'TRUE' will be modified
258
- #esxi.custom_vmx_settings = [['vhv.enable','TRUE'], ['floppy0.present','TRUE']]
259
-
260
- # OPTIONAL. lax
261
- # If unspecified, the ovftool option --lax is disabled. If you are
262
- # importing ovf boxes that generate errors, you may want to enable lax
263
- # to convert the errors to warning. (then the import could succeed)
264
- #esxi.lax = 'true'
185
+ #esxi.guest_virtualhw_version = '9'
186
+
187
+ # RISKY. guest_custom_vmx_settings
188
+ #esxi.guest_custom_vmx_settings = [['vhv.enable','TRUE'], ['floppy0.present','TRUE']]
189
+
190
+ # OPTIONAL. local_lax
191
+ #esxi.local_lax = 'true'
265
192
 
266
193
  # DANGEROUS! Allow Overwrite
267
194
  # If unspecified, the default is to produce an error if overwriting
268
195
  # vm's and packages.
269
- # Set this to 'True' will overwrite existing VMs (with the same name)
270
- # when you run vagrant up. ie, if the vmname already exists,
271
- # it will be destroyed, then over written... This is helpful
272
- # if you have a VM that became an orphan (vagrant lost association).
273
- # This will also overwrite your box when using vagrant package.
274
- #esxi.allow_overwrite = 'True'
196
+ #esxi.local_allow_overwrite = 'True'
275
197
 
276
198
  # Plugin debug output.
277
199
  # Send bug reports with debug output...
@@ -281,6 +203,28 @@ Vagrant.configure('2') do |config|
281
203
  end
282
204
  ```
283
205
 
206
+ Upgrading from vagrant-vmware-esxi 1.x.x
207
+ ----------------------------------------
208
+ The following Vagrantfile parameters have been renamed for clarity. The plugin still recognizes these legacy parameters, however it's recommended to migrate to the 2.x parameters.
209
+ * esxi_private_keys --> esxi_password = "key:"
210
+ * vm_disk_store --> esxi_disk_store
211
+ * virtual_network --> esxi_virtual_network
212
+ * resource_pool --> esxi_resource_pool
213
+ * vmname --> guest_name
214
+ * vmname_prefix --> guest_name_prefix
215
+ * ssh_username --> guest_username
216
+ * memsize --> guest_memsize
217
+ * numvcpus --> guest_numvcpus
218
+ * vm_disk_type --> guest_disk_type
219
+ * nic_type --> guest_nic_type
220
+ * mac_address --> guest_mac_address
221
+ * guestos --> guest_guestos
222
+ * virtualhw_version --> guest_virtualhw_version
223
+ * custom_vmx_settings --> guest_custom_vmx_settings
224
+ * lax --> local_lax
225
+ * allow_overwrite --> local_allow_overwrite
226
+
227
+
284
228
  Basic usage
285
229
  -----------
286
230
  1. `vagrant up --provider=vmware_esxi`
@@ -301,25 +245,34 @@ Basic usage
301
245
  Known issues with vmware_esxi
302
246
  -----------------------------
303
247
  * The boxes must have open-vm-tools or vmware-tools installed to properly transition to the 'running' state.
304
- * Invalid settings (bad IP address, netmask, MAC address, custom_vmx_settings) could cause 'vagrant up' to fail. Review your ESXi logs to help debug why it failed.
305
- * Cleanup doesn't always destroy a VM that has been partially built. Use the allow_overwrite = 'True' option if you need to force a rebuild, or delete the vm using the VSphere client.
248
+ * Invalid settings (bad IP address, netmask, MAC address, guest_custom_vmx_settings) could cause 'vagrant up' to fail. Review your ESXi logs to help debug why it failed.
249
+ * Cleanup doesn't always destroy a VM that has been partially built. Use the local_allow_overwrite = 'True' option if you need to force a rebuild, or delete the vm using the VSphere client.
306
250
  * ovftool installer for windows doesn't put ovftool.exe in your path. You can manually set your path, or install ovftool in the \HashiCorp\Vagrant\bin directory.
307
251
  * In general I find NFS synced folders a little 'flaky'...
308
252
 
309
253
 
310
254
  Version History
311
255
  ---------------
256
+ * 2.0.1 Updated version:
257
+ Most Vagrantfile options have been renamed to be consistent and for clarity.
258
+ vagrant up, more organized summary by esxi/guest options.
259
+ Lots of Code cleanup.
260
+ Add support for snapshot options (includeMemory & quiesced)
261
+ Snapshot save/push adds a description.
262
+
312
263
  * 1.5.1 Fix:
313
264
  Improve debug output.
314
265
  Fix password encoding for @ character.
315
266
  Automatically add a virtual network when configuring a public_network or private_network.
267
+
316
268
  * 1.5.0 Add support for:
317
- Specify custom_vmx_settings (to add or modify vmx settings).
269
+ Specify guest_custom_vmx_settings (to add or modify vmx settings).
318
270
  Specify Virtual HW version.
319
271
  Allow $ in Password.
320
272
  Disk types (thick, thin, eagerzeroedthick).
321
273
  Specify a guestOS type (see list above).
322
- Relaxed ovftool setting (--lax), to allow importing strange ovf boxes.
274
+ Relocal_laxed ovftool setting (--local_lax), to allow importing strange ovf boxes.
275
+
323
276
  * 1.4.0 Add support to set MAC and IP addresses for network interfaces.
324
277
  * 1.3.2 Fix, Don't timeout ssh connection when ovftool takes a long time to upload image.
325
278
  * 1.3.0 Add support to get esxi password from env, from a file or prompt.
@@ -111,106 +111,112 @@ Vagrant.configure('2') do |config|
111
111
  # each network interface in your VM. For most OS's DHCP is the default,
112
112
  # so, you will need a DHCP server for each virtual network. To set a
113
113
  # static IP, see above 'config.vm.network'.
114
- #esxi.virtual_network = ['vmnet1','vmnet2','vmnet3','vmnet4']
115
-
116
- # OPTIONAL & RISKY. Specify up to 4 MAC addresses
117
- # The default is ovftool to automatically generate a MAC address.
118
- # You can specify an array of MAC addresses using upper or lower case,
119
- # separated by colons ':'. I highly recommend using vmware's OUI
120
- # of '00:50:56' or '00:0c:29'. I consider this option a risk
121
- # because you may reuse a Vagrantfile without realizing you are
122
- # duplicating the MAC address.
123
- # *** Invalid settings could cause 'vagrant up' to fail ***
124
- #esxi.mac_address = ['00:50:56:aa:bb:cc', '00:50:56:01:01:01','00:50:56:02:02:02','00:50:56:BE:AF:01' ]
125
-
126
- # OPTIONAL & RISKY. Specify a nic_type
127
- # The default is to have the virtual nic hw type automatically
128
- # determined by the ovftool. However, you can override it by specifying
129
- # it here. This is a global setting. (all 4 virtual networks will be set)
130
- # The validated list of nic_types are 'e1000', 'e1000e', 'vmxnet',
131
- # 'vmxnet2', 'vmxnet3', 'Vlance', and 'Flexible'. I consider this
132
- # risky because I don't validate if the specified nic_type is
133
- # compatible with your OS version.
134
- # *** Invalid settings could cause 'vagrant up' to fail ***
135
- #esxi.nic_type = 'e1000'
114
+ #esxi.esxi_virtual_network = ['vmnet1','vmnet2','vmnet3','vmnet4']
136
115
 
137
116
  # OPTIONAL. Specify a Disk Store
138
117
  # If it's not specified, the Default is to use the least used Disk Store.
139
- #esxi.vm_disk_store = 'DS_001'
118
+ #esxi.esxi_disk_store = 'DS_001'
140
119
 
141
- # OPTIONAL. Specify a disk type.
142
- # If unspecified, it will be set to 'thin', Otherwise, you can set to:
143
- # 'thin', 'thick', or 'eagerzeroedthick'
144
- #esxo.vm_disk_type = 'thick'
120
+ # OPTIONAL. Resource Pool
121
+ # If unspecified, the default is to create VMs in the 'root'. You can
122
+ # specify a resource pool here to partition memory and cpu usage away
123
+ # from other systems on your esxi host. The resource pool must
124
+ # already exist and have the proper permissions set.
125
+ #
126
+ # Vagrant will NOT create a Resource pool it for you.
127
+ #esxi.esxi_resource_pool = '/Vagrant'
145
128
 
146
129
  # OPTIONAL. Guest VM name to use.
147
130
  # The Default will be automatically generated. It will be based on
148
- # the vmname_prefix (see below), your hostname & username and path.
131
+ # the guest_name_prefix (see below), your hostname & username and path.
149
132
  # Otherwise you can set a fixed guest VM name here.
150
- #esxi.vmname = 'Custom-Guest-VM_Name'
133
+ #esxi.guest_name = 'Custom-Guest-VM_Name'
134
+
135
+ # OPTIONAL. When automatically naming VMs, use this prifix.
136
+ #esxi.guest_name_prefix = 'V-'
151
137
 
152
- # OPTIONAL. When automatically naming VMs, use
153
- # this prifix.
154
- #esxi.vmname_prefix = 'V-'
138
+ # OPTIONAL. Set the guest username login. The default is 'vagrant'.
139
+ #esxi.guest_username = 'vagrant'
155
140
 
156
141
  # OPTIONAL. Memory size override
157
142
  # The default is to use the memory size specified in the
158
143
  # vmx file, however you can specify a new value here.
159
- #esxi.memsize = '2048'
144
+ #esxi.guest_memsize = '2048'
160
145
 
161
146
  # OPTIONAL. Virtual CPUs override
162
147
  # The default is to use the number of virtual cpus specified
163
148
  # in the vmx file, however you can specify a new value here.
164
- #esxi.numvcpus = '2'
149
+ #esxi.guest_numvcpus = '2'
165
150
 
166
- # OPTIONAL. Resource Pool
167
- # If unspecified, the default is to create VMs in the 'root'. You can
168
- # specify a resource pool here to partition memory and cpu usage away
169
- # from other systems on your esxi host. The resource pool must
170
- # already exist and have the proper permissions set.
171
- #
172
- # Vagrant will NOT create a Resource pool it for you.
173
- #esxi.resource_pool = '/Vagrant'
151
+ # OPTIONAL. Specify a disk type.
152
+ # If unspecified, it will be set to 'thin'. Otherwise, you can set to
153
+ # 'thin', 'thick', or 'eagerzeroedthick'
154
+ #esxi.guest_disk_type = 'thick'
155
+
156
+ # OPTIONAL & RISKY. Specify up to 4 MAC addresses
157
+ # The default is ovftool to automatically generate a MAC address.
158
+ # You can specify an array of MAC addresses using upper or lower case,
159
+ # separated by colons ':'. I highly recommend using vmware's OUI
160
+ # of '00:50:56' or '00:0c:29'. I consider this option a risk
161
+ # because you may reuse a Vagrantfile without realizing you are
162
+ # duplicating the MAC address.
163
+ # *** Invalid settings could cause 'vagrant up' to fail ***
164
+ #esxi.guest_mac_address = ['00:50:56:aa:bb:cc', '00:50:56:01:01:01','00:50:56:02:02:02','00:50:56:BE:AF:01' ]
165
+
166
+ # OPTIONAL & RISKY. Specify a guest_nic_type
167
+ # The default is to have the virtual nic hw type automatically
168
+ # determined by the ovftool. However, you can override it by specifying
169
+ # it here. This is a global setting. (all 4 virtual networks will be set)
170
+ # The validated list of guest_nic_types are 'e1000', 'e1000e', 'vmxnet',
171
+ # 'vmxnet2', 'vmxnet3', 'Vlance', and 'Flexible'. I consider this
172
+ # risky because I don't validate if the specified guest_nic_type is
173
+ # compatible with your OS version.
174
+ # *** Invalid setting could cause 'vagrant up' to fail ***
175
+ #esxi.guest_nic_type = 'e1000'
176
+
177
+ # OPTIONAL. specify snapshot options.
178
+ #esxi.guest_snapshot_includememory = 'true'
179
+ #esxi.guest_snapshot_quiesced = 'true'
174
180
 
175
- # RISKY. guestos
181
+ # RISKY. guest_guestos
176
182
  # if unspecified, the default will be generated by the OVFTool. Most
177
183
  # of the time, you don't need to change this unless ovftool doesn't get
178
- # the correct information from the box. See my page on supported guestos
184
+ # the correct information from the box. See my page on supported guest_guestos
179
185
  # types for ESXI.
180
- # https://github.com/josenk/vagrant-vmware-esxi/ESXi_guestos_types.md
181
- #esxi.guestos = 'centos7-64'
186
+ # https://github.com/josenk/vagrant-vmware-esxi/ESXi_guest_guestos_types.md
187
+ #esxi.guest_guestos = 'centos-64'
182
188
 
183
- # OPTIONAL. virtualhw_version
189
+ # OPTIONAL. guest_virtualhw_version
184
190
  # If unspecified, the default will be generated by the OVFTool. Most
185
191
  # of the time, you don't need to change this unless you are using advanced
186
192
  # custom vmx settings that require it.
187
193
  # ESXi 6.5 supports these versions. 4,7,8,9,10,11,12 & 13.
188
- #esxi.virtualhw_version = '11'
194
+ #esxi.guest_virtualhw_version = '9'
189
195
 
190
- # RISKY. custom_vmx_settings
196
+ # RISKY. guest_custom_vmx_settings
191
197
  # You can specify an array of custom vmx settings to add (or to override
192
198
  # existing settings). **** I don't do any validation, so if you
193
199
  # make any errors, it will not be caught *** This is the place you would
194
200
  # add any special settings you need in your vmx. (Like adding a USB, DVD
195
201
  # CPU settings, etc...).
196
202
  # ex vhv.enable = 'TRUE' will be appended, floppy0.presend = 'TRUE' will be modified
197
- #esxi.custom_vmx_settings = [['vhv.enable','TRUE'], ['floppy0.present','TRUE']]
203
+ #esxi.guest_custom_vmx_settings = [['vhv.enable','TRUE'], ['floppy0.present','TRUE']]
198
204
 
199
- # OPTIONAL. lax
205
+ # OPTIONAL. local_lax
200
206
  # If unspecified, the ovftool option --lax is disabled. If you are
201
- # importing ovf boxes that generate errors, you may want to enable lax
207
+ # importing ovf boxes that generate errors, you may want to enable local_lax
202
208
  # to convert the errors to warning. (then the import could succeed)
203
- #esxi.lax = 'true'
209
+ #esxi.local_lax = 'true'
204
210
 
205
211
  # DANGEROUS! Allow Overwrite
206
212
  # If unspecified, the default is to produce an error if overwriting
207
213
  # vm's and packages.
208
214
  # Set this to 'True' will overwrite existing VMs (with the same name)
209
- # when you run vagrant up. ie, if the vmname already exists,
215
+ # when you run vagrant up. ie, if the guest_name already exists,
210
216
  # it will be destroyed, then over written... This is helpful
211
217
  # if you have a VM that became an orphan (vagrant lost association).
212
218
  # This will also overwrite your box when using vagrant package.
213
- #esxi.allow_overwrite = 'True'
219
+ #esxi.local_allow_overwrite = 'True'
214
220
 
215
221
  # Plugin debug output.
216
222
  # Send bug reports with debug output...