Skip to content

Commit ffc9155

Browse files
tenthirtyamlbajolet-hashicorp
authored andcommitted
docs: update README.md
Updates `./README.md` and `./docs/README.md` Note: This includes the references to the deprecation of support for both the VMware vSphere Hypervisor (ESXi) and VMware Workstation Player. Signed-off-by: Ryan Johnson <[email protected]>
1 parent 5cd2b39 commit ffc9155

File tree

3 files changed

+156
-128
lines changed

3 files changed

+156
-128
lines changed

.web-docs/README.md

Lines changed: 44 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
21
<!-- markdownlint-disable first-line-h1 no-inline-html -->
32

4-
The Packer Plugin for VMware with which to create virtual machine images for use with VMware products.
3+
The Packer Plugin for VMware is a plugin that can be used to create virtual machine images for use
4+
with VMware [desktop hypervisors][desktop-hypervisors] (VMware Fusion Pro, VMware Workstation Pro,
5+
and VMware Workstation Player [^1]) and [VMware vSphere Hypervisor][vsphere-hypervisor] [^2].
56

67
### Installation
78

8-
To install this plugin add this code into your Packer configuration and run [packer init](/packer/docs/commands/init)
9+
To install this plugin, add following to your Packer configuration and run
10+
[`packer init`](/packer/docs/commands/init).
911

1012
```hcl
1113
packer {
@@ -26,36 +28,51 @@ packer plugins install github.com/hashicorp/vmware
2628

2729
### Components
2830

29-
The plugin includes two builders which are able to create images, depending on your desired strategy
31+
The plugin includes two builders which are able to create images, depending on your desired
32+
strategy.
3033

3134
#### Builders
3235

33-
- [vmware-iso](/packer/integrations/hashicorp/vmware/latest/components/builder/iso) - Starts from an ISO file,
34-
creates a brand new VMware VM, installs an OS, provisions software within
35-
the OS, then exports that machine to create an image. This is best for
36-
people who want to start from scratch.
36+
- `vmware-iso` - This builder creates a virtual machine, installs an operating system from an ISO,
37+
provisions software within the operating system, and then exports the virtual machine as an image.
38+
This is best for those who want to start by creating an image.
39+
40+
- `vmware-vmx` - This builder imports an existing virtual machine (from a`.vmx` file), runs
41+
provisioners on the virtual machine, and then exports the virtual machine as an image. This is
42+
best for those who want to start from an existing virtual machine as the source. You can feed the
43+
artifact of this builder back into Packer to iterate on an image.
44+
45+
### Known Issues
46+
47+
#### VMware Workstation Player (Linux)
48+
49+
1. You may encounter issues due to dependencies and configuration requirements on VMware Workstation
50+
Player for Linux [^1]:
3751

38-
- [vmware-vmx](/packer/integrations/hashicorp/vmware/latest/components/builder/vmx) - This builder imports an
39-
existing VMware machine (from a VMX file), runs provisioners on top of that
40-
VM, and exports that machine to create an image. This is best if you have
41-
an existing VMware VM you want to use as the source. As an additional
42-
benefit, you can feed the artifact of this builder back into Packer to
43-
iterate on a machine.
52+
- **Dependencies**
53+
- Add `qemu-img`. This command is available in the `qemu` package in Red Hat Enterprise Linux,
54+
Debian, and derivative distributions.
55+
- Add `vmrun`. This command is available from VMware Virtual Infrastructure eXtension (VIX) SDK.
56+
- **Configuration**
4457

45-
### VMware Workstation Player on Linux
58+
Edit the file `/usr/lib/vmware-vix/vixwrapper-config.txt`. The version specified in the fourth
59+
column must be changed to match the version in the third column of the output from the
60+
`vmplayer -v` command.
4661

47-
To use VMware Workstation Player with Packer on Linux, you will also need
48-
the `qemu-img` command, which is available in the `qemu` package in
49-
Red Hat Enterprise Linux, Debian, and derivative distributions.
62+
For detailed steps and troubleshooting, refer to [this][known-issues-so] StackOverflow thread.
5063

51-
Additionally you will need to have the `vmrun` command, which is part of the
52-
VMware [Virtual Infrastructure eXtension][vix-api] [(VIX) SDK][vix-sdk].
64+
[^1]: Support for VMware Workstation Player is deprecated and will be removed in a future release.
65+
Read more about [discontinuation of VMware Workstation Player][footnote-player-discontinuation].
66+
The project will continue to provide bug fixes; however, enhancements for this platform will
67+
no longer be addressed.
5368

54-
Finally, you must edit the file `/usr/lib/vmware-vix/vixwrapper-config.txt`
55-
and change the version specified in the fourth column to be the version in
56-
the third column of the `vmplayer -v` command.
57-
See [this StackOverflow thread][so] for more details.
69+
[^2]: Support for VMware vSphere Hypervisor (ESXi) is deprecated and will be removed in a future release.
70+
Please transition to using the [Packer Plugin for VMware vSphere][footnote-packer-plugin-vsphere].
71+
The project will continue to provide bug fixes; however, enhancements for this platform will
72+
no longer be addressed.
5873

59-
[vix-api]: https://www.vmware.com/support/developer/vix-api/
60-
[vix-sdk]: https://customerconnect.vmware.com/downloads/details?downloadGroup=PLAYER-1400-VIX1170&productId=687
61-
[so]: https://stackoverflow.com/questions/31985348/vix-vmrun-doesnt-work-with-vmware-player
74+
[vsphere-hypervisor]: https://www.vmware.com/products/vsphere-hypervisor.html
75+
[desktop-hypervisors]: https://www.vmware.com/products/desktop-hypervisor.html
76+
[known-issues-so]: https://stackoverflow.com/questions/31985348/vix-vmrun-doesnt-work-with-vmware-player
77+
[footnote-player-discontinuation]: https://blogs.vmware.com/workstation/2024/05/vmware-workstation-pro-now-available-free-for-personal-use.html
78+
[footnote-packer-plugin-vsphere]: https://developer.hashicorp.com/packer/integrations/hashicorp/vsphere

README.md

Lines changed: 68 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,61 @@
11
# Packer Plugin for VMware
22

3-
The Packer Plugin for VMware is a multi-component plugin that can be used with
4-
[Packer][packer] to create virtual machine images for use with
5-
[VMware vSphere Hypervisor][vsphere-hypervisor] and
6-
[desktop hypervisor products][desktop-hypervisors] such as VMware Fusion Pro,
7-
VMware Workstation Pro, and VMware Workstation Player,
8-
9-
The plugin includes two builders which are able to create images, depending on
10-
your desired strategy:
11-
12-
- [`vmware-iso`][docs-vmware-iso] - This builder creates a virtual machine,
13-
installs an operating system from an ISO, provisions software within the
14-
operating system, and then exports the virtual machine as an image. This is
15-
best for those who want to start by creating a base image.
16-
17-
- [`vmware-vmx`][docs-vmware-vmx] - This builder imports an existing virtual
18-
machine (from a`.vmx` file), runs provisioners on the virtual machine, and
19-
then exports the virtual machine as an image. This is best for those who want
20-
to start from an existing virtual machine as the source. You can feed the
21-
artifact of this builder back into Packer to iterate on a machine image.
22-
23-
## Differences from the Packer Plugin for VMware vSphere
24-
25-
While both this plugin and the `packer-plugin-vsphere` are designed to create
26-
virtual machine images, there are some key differences:
27-
28-
- **Platforms**: This plugin facilitates the creation of virtual machine images
29-
by integrating with VMware vSphere Hypervisor and desktop virtualization
30-
products such as VMware Fusion Pro, VMware Workstation Pro, and VMware
31-
Workstation Player; without using the VMware vSphere API. On the other hand,
32-
`packer-plugin-vsphere` is specifically developed to utilize the VMware
33-
vSphere API, facilitating the creation of virtual machine images by
34-
integrating with VMware vCenter Server and the VMware vSphere Hypervisor.
35-
36-
- **Focus**: This plugin is purpose-built with a focus on VMware vSphere
37-
Hypervisor and desktop virtualization products such as VMware Fusion Pro,
38-
VMware Workstation Pro, and VMware Workstation Player. In contrast,
39-
`packer-plugin-vsphere`, includes builders and post-processors with a focus on
40-
VMware vSphere, offering capabilities such as creating virtual machine images,
41-
cloning and modifying base virtual machine images, and exporting artifacts in
42-
specified locations and formats.
43-
44-
Please refer to the documentation for each plugin to understand the specific
45-
capabilities and configuration options.
3+
The Packer Plugin for VMware is a plugin that can be used to create virtual machine images for use
4+
with VMware [desktop hypervisors][desktop-hypervisors] ( VMware Fusion Pro, VMware Workstation Pro,
5+
and VMware Workstation Player[^1] ) and [VMware vSphere Hypervisor][vsphere-hypervisor] [^2].
466

47-
## Requirements
7+
The plugin includes two builders which are able to create images, depending on your desired
8+
strategy:
9+
10+
- [`vmware-iso`][docs-vmware-iso] - This builder creates a virtual machine, installs an operating
11+
system from an ISO, provisions software within the operating system, and then exports the virtual
12+
machine as an image. This is best for those who want to start by creating an image.
13+
14+
- [`vmware-vmx`][docs-vmware-vmx] - This builder imports an existing virtual machine (from a`.vmx`
15+
file), runs provisioners on the virtual machine, and then exports the virtual machine as an image.
16+
This is best for those who want to start from an existing virtual machine as the source. You can
17+
feed the artifact of this builder back into Packer to iterate on an image.
18+
19+
## Supported Hypervisors
20+
21+
The following hypervisors are supported by this plugin.
4822

4923
**Desktop Hypervisor**:
5024

5125
- VMware Fusion Pro (macOS)
5226
- VMware Workstation Pro (Linux and Windows)
53-
- VMware Workstation Player (Linux)
27+
- VMware Workstation Player (Linux and Windows) [^1]
5428

5529
**Bare Metal Hypervisor**:
5630

57-
- VMware vSphere Hypervisor
31+
- VMware vSphere Hypervisor [^2]
32+
33+
The plugin supports versions in accordance with the [Broadcom Product Lifecycle][product-lifecycle].
5834

59-
The plugin supports versions in accordance with the
60-
[Broadcom Product Lifecycle][product-lifecycle].
35+
## Requirements
6136

6237
**Go**:
6338

6439
- [Go 1.21][golang-install]
6540

66-
Required if building the plugin.
41+
Required if building the plugin.
6742

6843
## Usage
6944

70-
For a few examples on how to use this plugin with Packer refer to the
71-
[example](example/) template directory.
45+
For a examples on how to use this plugin with Packer refer to the [example](example/) directory of
46+
the repository.
7247

7348
## Installation
7449

7550
### Using Pre-built Releases
7651

7752
#### Automatic Installation
7853

79-
Packer v1.7.0 and later supports the `packer init` command which enables the
80-
automatic installation of Packer plugins. For more information, see the
81-
[Packer documentation][docs-packer-init].
54+
Packer v1.7.0 and later supports the `packer init` command which enables the automatic installation
55+
of Packer plugins. For more information, see the [Packer documentation][docs-packer-init].
8256

83-
To install this plugin, copy and paste this code (HCL2) into your Packer
84-
configuration and run `packer init`.
57+
To install this plugin, copy and paste this code (HCL2) into your Packer configuration and run
58+
`packer init`.
8559

8660
```hcl
8761
packer {
@@ -97,50 +71,70 @@ packer {
9771

9872
#### Manual Installation
9973

100-
You can download [pre-built binary releases][releases-vmware-plugin] of the
101-
plugin on GitHub. Once you have downloaded the latest release archive for your
102-
target operating system and architecture, extract the release archive to
103-
retrieve the plugin binary file for your platform.
74+
You can download the plugin from the GitHub [releases][releases-vmware-plugin]. Once you have
75+
downloaded the latest release archive for your target operating system and architecture, extract the
76+
release archive to retrieve the plugin binary file for your platform.
10477

10578
To install the downloaded plugin, please follow the Packer documentation on
10679
[installing a plugin][docs-packer-plugin-install].
10780

10881
### Using the Source
10982

110-
If you prefer to build the plugin from sources, clone the GitHub repository
111-
locally and run the command `go build` from the repository root directory. Upon
112-
successful compilation, a `packer-plugin-vmware` plugin binary file can be found
113-
in the root directory.
83+
If you prefer to build the plugin from sources, clone the GitHub repository locally and run the
84+
command `go build` from the repository root directory. Upon successful compilation, a
85+
`packer-plugin-vmware` plugin binary file can be found in the root directory.
11486

11587
To install the compiled plugin, please follow the Packer documentation on
11688
[installing a plugin][docs-packer-plugin-install].
11789

11890
### Configuration
11991

120-
For more information on how to configure the plugin, please see the plugin
121-
documentation.
92+
For more information on how to configure the plugin, please see the plugin documentation.
12293

12394
- `vmware-iso` [builder documentation][docs-vmware-iso]
12495
- `vmware-vmx` [builder documentation][docs-vmware-vmx]
12596

12697
## Contributing
12798

128-
- If you think you've found a bug in the code or you have a question regarding
129-
the usage of this software, please reach out to us by opening an issue in this
130-
GitHub repository.
99+
If you discover a bug or would like to suggest a feature or an enhancement, please use the GitHub
100+
[issues][issues]. Issues are monitored by the maintainers and are prioritized based on the
101+
criticality and community reactions.
102+
103+
Before opening an issue, please check existing open or recently closed issues to avoid duplicates.
104+
105+
When opening an issue, please include as much information as possible, such as:
106+
107+
- A minimal reproducible example or a series of reproduction steps.
108+
- Details about your environment or deployment that might be unusual.
109+
110+
Please review the [contribution guidelines][contributing] before submitting a pull request.
111+
112+
For enhancements or features, please open an issue to discuss before submitting.
113+
114+
For comprehensive details on contributing, refer to the [contribution guidelines][contributing].
115+
116+
[^1]:
117+
Support for VMware Workstation Player is deprecated and will be removed in a future release.
118+
Read more about [discontinuation of VMware Workstation Player][footnote-player-discontinuation].
119+
The project will continue to provide bug fixes; however, enhancements for this platform will
120+
no longer be addressed.
131121

132-
- Contributions to this project are welcome: if you want to add a feature or a
133-
fix a bug, please do so by opening a pull request in this GitHub repository.
134-
In case of feature contribution, we kindly ask you to open an issue to discuss
135-
it beforehand.
122+
[^2]:
123+
Support for VMware vSphere Hypervisor (ESXi) is deprecated and will be removed in a future release.
124+
Please transition to using the [Packer Plugin for VMware vSphere][footnote-packer-plugin-vsphere].
125+
The project will continue to provide bug fixes; however, enhancements for this platform will
126+
no longer be addressed.
136127

128+
[contributing]: .github/CONTRIBUTING.md
129+
[issues]: https://github.com/hashicorp/packer-plugin-vmware/issues
137130
[vsphere-hypervisor]: https://www.vmware.com/products/vsphere-hypervisor.html
138131
[desktop-hypervisors]: https://www.vmware.com/products/desktop-hypervisor.html
139132
[docs-packer-init]: https://developer.hashicorp.com/packer/docs/commands/init
140133
[docs-packer-plugin-install]: https://developer.hashicorp.com/packer/docs/plugins/install-plugins
141134
[docs-vmware-iso]: https://developer.hashicorp.com/packer/plugins/builders/vmware/iso
142135
[docs-vmware-vmx]: https://developer.hashicorp.com/packer/plugins/builders/vmware/vmx
143136
[golang-install]: https://golang.org/doc/install
144-
[packer]: https://www.packer.io
145137
[releases-vmware-plugin]: https://github.com/hashicorp/packer-plugin-vmware/releases
146138
[product-lifecycle]: https://support.broadcom.com/group/ecx/productlifecycle
139+
[footnote-player-discontinuation]: https://blogs.vmware.com/workstation/2024/05/vmware-workstation-pro-now-available-free-for-personal-use.html
140+
[footnote-packer-plugin-vsphere]: https://developer.hashicorp.com/packer/integrations/hashicorp/vsphere

0 commit comments

Comments
 (0)