Releases: vmware-samples/packer-examples-for-vsphere
Releases · vmware-samples/packer-examples-for-vsphere
v0.4.0
Note
Release Date: 2021-09-07
Previous Versioning: v21.09
- Adds support for Microsoft Windows Server 2022 machine image builds.
- Refactors configuration files to be generated using templates. Reduces the number of files and passes variables into the
.pkrtpl.hcl
content. - Refactors builds for Linux distributions to use
http_content
instead ofhttp_directory
andhttp_file
. - Refactors builds for Microsoft Windows to use
cd_content
instead offloppy_files
, which allows for use generated configuration files. A Packer compatible.iso
command-line tool is required. - Adds disclaimers and Updates descriptions in script files.
- Adds NOTICE.
- Updates the
packer init
commands run inbuild.sh
. - Updates MAINTAINERS.md.
- Updates CONTRIBUTING.md.
- Updates README.md.
Full Changelog:
v0.3.0
Note
Release Date: 2021-08-18
Previous Versioning: v21.08
- Moves
vsphere.pkrvars.hcl
andrhsm.pkrvars.hcl
to thebuilds
directory. - Isolates variables to simplify updates to common settings with
builds/common.pkrvars.hcl
. - Refactors all build definitions to use variables and reduce any hard-coded settings.
- All machine image build definitions use the the recommended firmware based on the guest operating system and the minimum vSphere release supported by the repository. EFI Secure Boot is enabled for Red Hat Enterprise Linux 8, CentoOS Linux/Stream 8, AlmaLinux 8, and Microsoft Windows Server 2019/2016. BIOS is enabled Rocky Linux 8.
- Adds the manifest post-provisioner to machine image build definitions.
- Moves public keys to variables.
- Adds a user for Ansible to Linux machine images with authorized_keys. Uses
builds/ansible.pkrvars.hcl
. Password is randomized. - Updates the Packer block to all builds with
required_versions >= "1.7.4"
for Packer. - Adds the
required_plugins
to the Packer block for all builds to use thevsphere
pluginversion = ">= 1.0.1"
. - Updates the Packer block for Windows builds with
required_plugins
andversion = "0.14.0"
for the Windows-Update plugin. - All builds automatically run
packer init
to initialize required plugins before running a build withbuild.sh
. - Updates Microsoft Windows
autounattend.xml
files to use the attached VMware Tools.iso
for PVSCSI driver. - Simplified and reduced the script files used by provisioners.
- Patches the script for VNware Photon OS 4 due to an issue performing updates with
tdnf
. - Patches the script for Ubuntu Server 20.04 LTS to remove cloud-init and remove all netplan configurations before GuestOS customization.
- Removes support for VMware Photon OS 3 machine image builds.
- Removes support for Red Hat Enterprise Linux 7 machine image builds.
- Removes support for CentOS Linux 7 machine image builds.
- Deprecates CentOS Linux 8. Removing in a future update. The CentOS Project has shifted focus from CentOS Linux to CentOS Stream. CentOS Linux 8 EOL:
2021-12-31
. - Deprecating Microsoft Windows Server 2016. Removing in a future update. Microsoft Windows Server 2016 EOL:
2022-01-22
. - Adds MAINTAINERS.md.
- Updates README.md.
Full Changelog:
v0.2.0
Note
Release Date: 2021-07-21
Previous Versioning: v21.07
- Adds support for VMware Photon OS 4.
- Adds support for AlmaLinux 8.
- Adds support for Rocky Linux 8.
- Adds support for CentOS Stream 8.
- Updates to
>=
vSphere 7.0 U2. - Adds the Packer block to all builds with
required_versions >= "1.7.3"
for Packer. - Adds the Packer block for Windows builds with
required_plugins
andversion = "0.12.0"
for the Windows-Update plugin.
New Contributors:
Full Changelog:
v0.1.0
Note
Release Date: 2020-11-26
Previous Versioning: v20.11
Initial release.