Releases: vmware/packer-examples-for-vsphere
v0.14.0
Note
Release Date: 2022-08-25
Previous Versioning: v22.08
Enhancement:
- Adds Debian 11. #195
- Adds support for initial configuration and use of the HCP Packer Registry. #236 and #256
- Adds support to use the
iso_url
variable to download the guest operating system.iso
from a URL. #249
Breaking Change:
- Updates
vm_cpu_sockets
tovm_cpu_count
for CPUs. The value of the sockets is determined by dividing the number of CPUs by the number of cores per socket defined. #253
Chore:
- Updates
required_versions
forpacker
to>= 1.8.3
. - Updates
required_plugins
forpacker-plugin-vsphere
to>= 1.0.8
. - Updates
required_versions
forterraform
to>= 1.2.8
. - Updates Windows Server 2022 to August 2022 (US English) release.
- Updates Windows 11 to August 2022 (US English) release.
- Updates Windows 10 to August 2022 (US English) release.
Full Changelog:
v0.13.0
Note
Release Date: 2022-07-26
Previous Versioning: v22.07
Enhancement:
- Adds Red Hat Enterprise Linux 9.
- Adds CentOS 9 Stream.
- Adds Rocky Linux 9.
- Adds AlmaLinux OS 9.
- Adds SUSE Linux Enterprise Server 15.
- Adds option for setting the number of video displays and the size for the video memory for both Windows 11 and 10, which is useful for virtual desktop use cases (e.g., Horizon). The ability to set the number of displays was added in
v1.0.6
ofpacker-plugin-vsphere
. - Adds a common option to export machine image artifacts (
.ovf
,.vmdk
, and.mf
) to an output path. - Removes the default requirement for a trusted root authority certificate to be imported and
trusted by each machine image build. This will allow project users to get started more quickly
without a pre-requisite.
Refactor:
- Refactors builds to use local variables for virtual machine image names and descriptions.
- Refactors builds to use local variables for ISO paths and checksums.
- Refactors builds to use local variables for manifest data and output path.
Chore:
- Updates vSphere to version 7.0.3D or higher to address a known issue with the Red Hat Enterprise Linux 9 with EFI firmware.
- Updates
required_plugins
forpacker-plugin-vsphere
to>= 1.0.6
. - Updates
required_versions
forterraform
to>= 1.2.5
. - Updates Rocky Linux 8 to use
other4xLinuxGuest64
. - Updates Almalinux 8 to use
other4xLinuxGuest64
. - Removes the deprecated CentOS 8 option; end-of-life as of December 31, 2021.
- Removes the deprecated Windows Server 2016 option; end-of-life as of January 11, 2022.
Note
- Supports 15.3 / 15 Service Pack 3.
- HTTP-based deployment only. Disk-based deployment planned.
Full Changelog:
v0.12.0
Note
Release Date: 2022-06-27
Previous Versioning: v22.06
Chore:
- Updates
required_versions
forpacker
to>= 1.8.2
. - Updates
required_plugins
forpacker-plugin-vsphere
to>= 1.0.5
. - Updates
required_versions
forterraform
to>= 1.2.3
. - Updates
required_versions
forhashicorp/vsphere
to>= 2.2.0
. - Updates vSphere to version 7.0.3 or higher.
- Updates Windows Server 2022 to June 2022 (US English) release.
- Updates Windows 11 to June 2022 (US English) release.
- Updates
vm_guest_os_type
for Windows Server 2022 guest ID towindows2019srvNext_64Guest
.
Full Changelog:
v0.11.0
Note
Release Date: 2022-05-31
Previous Versioning: v22.05
Chore:
- Updates
required_plugins
forpacker-plugin-vsphere
to>= 1.0.4
. - Updates
required_plugins
andpacker-plugin-windows-update
to>= 0.14.1
. - Updates
required_versions
forterraform
to>= 1.2.1
. - Updates Red Hat Enterprise Linux 8 to 8.6 release.
- Updates Rocky Linux 8 to 8.6 release.
- Updates Almalinux 8 to 8.6 release.
- Updates CentOS Stream 8 checksum to latest release.
- Updates Windows Server 2022 to April 2022 (US English) release.
- Updates Windows 11 to May 2022 (US English) release.
- Updates requirements to include VMware Photon OS 4 as a tested operating system.
- Updates requirements to include Ubuntu 22.04 as a tested operating system.
Full Changelog:
v0.10.0
Note
Release Date: 2022-04-28
Previous Versioning: v22.04
Enhancement:
Bugfix:
- Updates the Python interpreter for Ansible on AlmaLinux to use
/usr/libexec/platform-python
. (#182) - Adds the use of
build_password
to the Linux distributions to ensure use ofset-envvars.sh
works as expected. (#197) - Updates the SHA256 checksum for the CentOS 7 .iso
CentOS-7-x86_64-DVD-2009.iso
. (#201)
Chore:
- Updates the Windows Server 2022 February 2022 (US English) release. (#192)
- Updates the Ubuntu 20.04 LTS to 20.04.4 release. (#184)
New Contributors:
- @DSI-BenThomas made their first contribution in #193
- @wfyanmnm made their first contribution in #201
Full Changelog:
v0.9.0
Note
Release Date: 2022-03-17 🍀
Previous Versioning: v22.03
Chore:
- Updates
required_versions
forpacker
to>= 1.8.0
. - Updates
required_versions
forterraform
to>= 1.1.7
. - Updates
required_versions
forhashicorp/vsphere
to>= 2.1.1
.
Full Changelog:
v0.8.0
Note
Release Date: 2022-02-21
Previous Versioning: v22.01
Enhancement:
- Updates the configuration of Linux machine images to use the Ansible roles instead of shell scripts.
Chore:
- Updates
required_versions
forpacker
to>= 1.7.10
. - Updates
required_versions
forterraform
to>= 1.1.5
.
Full Changelog:
v0.7.0
Note
Release Date: 2022-01-21
Previous Versioning: v22.01
Enhancement:
- Updates the
notes
to automatically include the Packer version and abuild_version
. - Updates the naming for the machine image output and includes a
build_version
(e.g.,linux-photon-4-v22.01
). - Updates all Microsoft Windows Server machine image builds to a default of 4096 MB of memory to increase performance during operating system patching.
Chore:
- Updates the structure of the subdirectories in
builds/
. - Updates
required_versions
forpacker
to>= 1.7.9
. - Updates
required_plugins
forpacker-plugin-vsphere
to>= 1.0.3
. - Updates
required_versions
forterraform
to>= 1.1.4
. - Updates Microsoft Windows 11 Professional to use virtual trusted platform module (vTPM) and removes experimental project support. vTPM is now supported by
packer-plugin-vsphere
to>= 1.0.3
. - Updates VMware Photon OS 4.0 to Revision 2.
- Adds configurable data source provisioning for VMware Photon OS 4.0. Revision 2 adds support for secondary devices with kickstart. Edit the
common_data_source
incommon.pkvars.hcl
fromhttp
todisk
. The build will attach an on-demand.iso
as the secondary CD-ROM for the kickstart. This is useful for environments that can not use HTTP-based kickstart. - Adds a GitHub Action on pull requests to check code quality using linters.
- Updates all of project code to address issues found by the linter(s).
Full Changelog:
v0.6.0
Note
Release Date: 2021-11-09
Previous Versioning: v21.11
Enhancement:
- Adds support for
cloud-init
and the[VMware]
data source introduced in cloud-init v21.3 for Ubuntu Server 20.04 LTS
Important
Uncomment these lines in the script for Ubuntu 20.04 and guest customization will be performed by VMware Tools vs. cloud-init
.
# Uncomment below if guest customization will be performed by VMware Tools.
# touch /etc/cloud/cloud.cfg.d/99.disable-network-config.cfg
# echo "network: {config: disabled}" >> /etc/cloud/cloud.cfg.d/99.disable-network-config.cfg
- Adds custom disk partitioning for Ubuntu Server 20.04 LTS and Ubuntu Server 18.04 LTS
- Updates Ubuntu 18.04 LTS to
efi-secure
. - Updates all certificates to the PEM-encoded
.cer
format. - Adds example Terraform plans for deployment testing.
- Adds an Ansible playbook example to create a custom role in vSphere for Packer.
Full Changelog:
v0.5.1
Note
Release Date: 2021-10-20
Previous Versioning: v21.10.1
- Updates
LICENSE
andNOTICE
to BSD-2. - Updates
required_versions
forpacker
to>= 1.7.7
. - Updates
required_plugins
forpacker-plugin-vsphere
to>= 1.0.2
. - Updates Linux distributions to generate new host keys on first-boot.
- Adds option to use
floppy_content
included inpacker-plugin-vsphere
releasev1.0.2
. Ubuntu Server 18.04 LTS will toggle to usefloppy_content
fromhttp_content
whencommon_data_source = "disk"
is enabled. - Updates VMware Photon OS 4.0 to Revision 1.
- Adds Microsoft Windows 11 Professional as experimental until
vsphere-iso
supports vTPM. - Adds support for
skip_import
Adds topacker-plugin-vsphere
inv1.0.2
. When set totrue
the virtual machine will not be imported into the content library. This is useful for testing/debugging. Defaults to false.
Full Changelog: