Skip to content

Commit 8a0e6fc

Browse files
authored
docs: update example fqdns (#689)
- Updates example FQDNs: - `vcenter.example.com` >> `vc01.example.com` - `esxi-01.example.com` >> `esx01.example.com` - `esxi-02.example.com` >> `esx02.example.com` - Updates "ESXi" to "ESX" based on rebranding. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent 0e0b9b3 commit 8a0e6fc

24 files changed

Lines changed: 81 additions & 81 deletions

File tree

.web-docs/components/builder/vsphere-clone/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,21 +1746,21 @@ JSON Example:
17461746

17471747
## Working with Clusters and Hosts
17481748

1749-
### Standalone ESXi Hosts
1749+
### Standalone ESX Hosts
17501750

17511751
Only use the `host` option. Optionally, specify a `resource_pool`:
17521752

17531753
HCL Example:
17541754

17551755
```hcl
1756-
host = "esxi-01.example.com"
1756+
host = "esx01.example.com"
17571757
resource_pool = "example_resource_pool"
17581758
```
17591759

17601760
JSON Example:
17611761

17621762
```json
1763-
"host": "esxi-01.example.com",
1763+
"host": "esx01.example.com",
17641764
"resource_pool": "example_resource_pool",
17651765
```
17661766

@@ -1790,14 +1790,14 @@ HCL Example:
17901790

17911791
```hcl
17921792
cluster = "cluster-01"
1793-
host = "esxi-01.example.com"
1793+
host = "esx01.example.com"
17941794
```
17951795

17961796
JSON Example:
17971797

17981798
```json
17991799
"cluster": "cluster-01",
1800-
"host": "esxi-01.example.com",
1800+
"host": "esx01.example.com",
18011801
```
18021802

18031803
## Privileges

.web-docs/components/builder/vsphere-iso/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: `vsphere-iso`
33
Artifact BuilderId: `vmware.vsphere`
44

55
This 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
99
their 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

465465
If the `iso_url` is defined in addition to the `iso_paths`, the `iso_url` is added to the virtual
466466
machine 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

469469
HCL 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

16781678
Only use the `host` option. Optionally, specify a `resource_pool`:
16791679

16801680
HCL Example:
16811681

16821682
```hcl
1683-
host = "esxi-01.example.com"
1683+
host = "esx01.example.com"
16841684
resource_pool = "example_resource_pool"
16851685
```
16861686

16871687
JSON 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

17231723
JSON Example:
17241724

17251725
```json
17261726
"cluster": "cluster-01",
1727-
"host": "esxi-01.example.com",
1727+
"host": "esx01.example.com",
17281728
```
17291729

17301730
## Privileges

.web-docs/components/data-source/virtualmachine/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ virtual machine that matches the specified tag filters.
114114

115115
```hcl
116116
data "vsphere-virtualmachine" "example" {
117-
vcenter_server = "vcenter.example.com"
117+
vcenter_server = "vc01.example.com"
118118
username = "administrator@vsphere.local"
119119
password = "VMware1!"
120120
datacenter = "dc-01"
@@ -159,7 +159,7 @@ machines matching a specific naming convention.
159159

160160
```hcl
161161
data "vsphere-virtualmachine" "example" {
162-
vcenter_server = "vcenter.example.com"
162+
vcenter_server = "vc01.example.com"
163163
username = "administrator@vsphere.local"
164164
password = "VMware1!"
165165
datacenter = "dc-01"
@@ -179,7 +179,7 @@ matching with regular expressions.
179179

180180
```hcl
181181
data "vsphere-virtualmachine" "example" {
182-
vcenter_server = "vcenter.example.com"
182+
vcenter_server = "vc01.example.com"
183183
username = "administrator@vsphere.local"
184184
password = "VMware1!"
185185
datacenter = "dc-01"
@@ -199,7 +199,7 @@ machine templates.
199199

200200
```hcl
201201
data "vsphere-virtualmachine" "example" {
202-
vcenter_server = "vcenter.example.com"
202+
vcenter_server = "vc01.example.com"
203203
username = "administrator@vsphere.local"
204204
password = "VMware1!"
205205
datacenter = "dc-01"
@@ -219,11 +219,11 @@ combined with other filters.
219219

220220
```hcl
221221
data "vsphere-virtualmachine" "example" {
222-
vcenter_server = "vcenter.example.com"
222+
vcenter_server = "vc01.example.com"
223223
username = "administrator@vsphere.local"
224224
password = "VMware1!"
225225
datacenter = "dc-01"
226-
host = "esxi-01.example.com"
226+
host = "esx01.example.com"
227227
name = "linux-debian-13-*"
228228
latest = true
229229
}

.web-docs/components/post-processor/vsphere-template/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: `vsphere-template`
22

33
Artifact BuilderId: `packer.post-processor.vsphere`
44

5-
This post-processor uses an artifact from the `vmware-iso` builder with an ESXi host or an artifact
5+
This post-processor uses an artifact from the `vmware-iso` builder with an ESX host or an artifact
66
from the [vSphere](/packer/integrations/hashicorp/vsphere/latest/components/post-processor/vsphere) post-processor. It then marks
77
the virtual machine as a template and moves it to your specified path.
88

@@ -84,7 +84,7 @@ build {
8484
8585
post-processors {
8686
post-processor "vsphere-template"{
87-
host = "vcenter.example.com"
87+
host = "vc01.example.com"
8888
insecure = false
8989
username = "administrator@vsphere.local"
9090
password = "VMw@re1!"
@@ -109,7 +109,7 @@ JSON Example:
109109
[
110110
{
111111
"type": "vsphere-template",
112-
"host": "vcenter.example.com",
112+
"host": "vc01.example.com",
113113
"insecure": true,
114114
"username": "administrator@vsphere.local",
115115
"password": "VMw@re1!",

.web-docs/components/post-processor/vsphere/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ build {
122122
post-processors {
123123
post-processor "vsphere"{
124124
vm_name = "foo"
125-
host = "vcenter.example.com"
125+
host = "vc01.example.com"
126126
username = "administrator@vsphere.local"
127127
password = "VMw@re1!"
128128
datacenter = "dc-01"
@@ -150,7 +150,7 @@ JSON Example:
150150
{
151151
"type": "vsphere",
152152
"vm_name": "foo",
153-
"host": "vcenter.example.com",
153+
"host": "vc01.example.com",
154154
"username": "administrator@vsphere.local",
155155
"password": "VMw@re1!",
156156
"datacenter": "dc-01",

builder/vsphere/clone/config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ func TestCloneConfig_RAMReservation(t *testing.T) {
4848

4949
func minimalConfig() map[string]interface{} {
5050
return map[string]interface{}{
51-
"vcenter_server": "vcenter.example.com",
51+
"vcenter_server": "vc01.example.com",
5252
"username": "administrator@vsphere.local",
5353
"password": "VMw@re1!",
5454
"template": "ubuntu",
5555
"vm_name": "vm-01",
56-
"host": "esxi-01.example.com",
56+
"host": "esx01.example.com",
5757
"ssh_username": "root",
5858
"ssh_password": "VMw@re1!",
5959
}

builder/vsphere/common/utils/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
)
1010

1111
const (
12-
DefaultVcenterServer = "vcenter.example.com"
12+
DefaultVcenterServer = "vc01.example.com"
1313
DefaultVsphereUsername = "administrator@vsphere.local"
1414
DefaultVspherePassword = "VMw@re1!"
15-
DefaultVsphereHost = "esxi-01.example.com"
15+
DefaultVsphereHost = "esx01.example.com"
1616

1717
EnvVcenterServer = "VSPHERE_VCENTER_SERVER"
1818
EnvVsphereUsername = "VSPHERE_USERNAME"

builder/vsphere/driver/datastore_acc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestDatastoreAcc(t *testing.T) {
3030
func TestFileUpload(t *testing.T) {
3131
t.Skip("Acceptance tests not configured yet.")
3232
dsName := "datastore1"
33-
hostName := "esxi-01.example.com"
33+
hostName := "esx01.example.com"
3434

3535
fileName := fmt.Sprintf("test-%v", time.Now().Unix())
3636
tmpFile, err := os.CreateTemp("", fileName)

builder/vsphere/driver/resource_pool_acc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import "testing"
99
func TestResourcePoolAcc(t *testing.T) {
1010
t.Skip("Acceptance tests not configured yet.")
1111
d := newTestDriver(t)
12-
p, err := d.FindResourcePool("", "esxi-01.example.com", "pool1/pool2")
12+
p, err := d.FindResourcePool("", "esx01.example.com", "pool1/pool2")
1313
if err != nil {
1414
t.Fatalf("unexpected error: '%s'", err)
1515
}

builder/vsphere/iso/builder_acc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ func checkBootOrder(name string) error {
703703
func TestISOBuilderAcc_cluster(t *testing.T) {
704704
config := defaultConfig()
705705
config["cluster"] = "cluster1"
706-
config["host"] = "esxi-02.example.com"
706+
config["host"] = "esx02.example.com"
707707
testCase := &acctest.PluginTestCase{
708708
Name: "vsphere-iso_bootOrder_test",
709709
Template: vsphere.RenderConfig("vsphere-iso", config),

0 commit comments

Comments
 (0)