@@ -3,7 +3,7 @@ Type: `vsphere-iso`
33Artifact BuilderId: ` vmware.vsphere `
44
55This builder starts from a guest operating system ISO file and builds a virtual machine image on a
6- vSphere cluster or an ESXi host using the vSphere API.
6+ vSphere cluster or an ESX host using the vSphere API.
77
88-> ** Note:** This builder is developed to maintain compatibility with VMware vSphere versions until
99their respective End of General Support dates. For detailed information, refer to the
@@ -294,9 +294,9 @@ wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg
294294 ESX host, run the following PowerShell command using ` VMware.PowerCLI ` :
295295
296296 ``` powershell
297- Connect-VIServer -Server "vcenter .example.com" -User "administrator@vsphere.local" -Password "password"
298- $esxiHost = Get-VMHost -Name "esxi-01 .example.com"
299- $environmentBrowser = Get-View -Id $esxiHost .ExtensionData.Parent.ExtensionData.ConfigManager.EnvironmentBrowser
297+ Connect-VIServer -Server "vc01 .example.com" -User "administrator@vsphere.local" -Password "password"
298+ $esxHost = Get-VMHost -Name "esx01 .example.com"
299+ $environmentBrowser = Get-View -Id $esxHost .ExtensionData.Parent.ExtensionData.ConfigManager.EnvironmentBrowser
300300 $vmxVersion = ($environmentBrowser.QueryConfigOptionDescriptor() | Where-Object DefaultConfigOption).Key
301301 $osDescriptor = $environmentBrowser.QueryConfigOption($vmxVersion, $null).GuestOSDescriptor
302302 $osDescriptor | Select-Object Id, Fullname
@@ -464,7 +464,7 @@ For each ISO defined in the CD-ROM configuration, a CD-ROM device is added.
464464
465465If the ` iso_url ` is defined in addition to the ` iso_paths ` , the ` iso_url ` is added to the virtual
466466machine first. This keeps the ` iso_url ` first in the boot order by default, allowing the boot ISO to
467- be defined by the ` iso_url ` and the VMware Tools ISO added from ESXi host.
467+ be defined by the ` iso_url ` and the VMware Tools ISO added from ESX host.
468468
469469HCL Example:
470470
@@ -1673,21 +1673,21 @@ JSON Example:
16731673
16741674## Working with Clusters and Hosts
16751675
1676- ### Standalone ESXi Hosts
1676+ ### Standalone ESX Hosts
16771677
16781678Only use the ` host ` option. Optionally, specify a ` resource_pool ` :
16791679
16801680HCL Example:
16811681
16821682``` hcl
1683- host = "esxi-01 .example.com"
1683+ host = "esx01 .example.com"
16841684 resource_pool = "example_resource_pool"
16851685```
16861686
16871687JSON Example:
16881688
16891689``` json
1690- "host" : " esxi-01 .example.com" ,
1690+ "host" : " esx01 .example.com" ,
16911691 "resource_pool" : " example_resource_pool" ,
16921692```
16931693
@@ -1717,14 +1717,14 @@ HCL Example:
17171717
17181718``` hcl
17191719 cluster = "cluster-01"
1720- host = "esxi-01 .example.com"
1720+ host = "esx01 .example.com"
17211721```
17221722
17231723JSON Example:
17241724
17251725``` json
17261726 "cluster" : " cluster-01" ,
1727- "host" : " esxi-01 .example.com" ,
1727+ "host" : " esx01 .example.com" ,
17281728```
17291729
17301730## Privileges
0 commit comments