Skip to content

Releases: vmware-samples/packer-examples-for-vsphere

v0.11.0

06 Apr 14:15
Compare
Choose a tag to compare

Note

Release Date: 2022-05-31
Previous Versioning: v22.05

Chore:

  • Updates required_plugins for packer-plugin-vsphere to >= 1.0.4.
  • Updates required_plugins and packer-plugin-windows-update to >= 0.14.1.
  • Updates required_versions for terraform 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...v0.11.0

v0.10.0

06 Apr 14:14
89f161b
Compare
Choose a tag to compare

Note

Release Date: 2022-04-28
Previous Versioning: v22.04

Enhancement:

  • Adds Ubuntu Server 22.04 LTS (#185)
  • Adds an option to generate a custom build script. (#188)

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 of set-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:

Full Changelog:

v0.9.0...v0.10.0

v0.9.0

06 Apr 14:14
e9e03fd
Compare
Choose a tag to compare

Note

Release Date: 2022-03-17 🍀
Previous Versioning: v22.03

Chore:

  • Updates required_versions for packer to >= 1.8.0.
  • Updates required_versions for terraform to >= 1.1.7.
  • Updates required_versions for hashicorp/vsphere to >= 2.1.1.

Full Changelog:

v0.8.0...v0.9.0

v0.8.0

06 Apr 14:14
5489f31
Compare
Choose a tag to compare

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 for packer to >= 1.7.10.
  • Updates required_versions for terraform to >= 1.1.5.

Full Changelog:

v0.7.0...v0.8.0

v0.7.0

06 Apr 14:14
28a6cc4
Compare
Choose a tag to compare

Note

Release Date: 2022-01-21
Previous Versioning: v22.01

Enhancement:

  • Updates the notes to automatically include the Packer version and a build_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 for packer to >= 1.7.9.
  • Updates required_plugins for packer-plugin-vsphere to >= 1.0.3.
  • Updates required_versions for terraform 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 in common.pkvars.hcl from http to disk. 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...v0.7.0

v0.6.0

06 Apr 14:14
75e38b4
Compare
Choose a tag to compare

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...v0.6.0

v0.5.1

06 Apr 14:13
29bc5c2
Compare
Choose a tag to compare

Note

Release Date: 2021-10-20
Previous Versioning: v21.10.1

  • Updates LICENSE and NOTICE to BSD-2.
  • Updates required_versions for packer to >= 1.7.7.
  • Updates required_plugins for packer-plugin-vsphere to >= 1.0.2.
  • Updates Linux distributions to generate new host keys on first-boot.
  • Adds option to usefloppy_content included in packer-plugin-vsphere releasev1.0.2. Ubuntu Server 18.04 LTS will toggle to use floppy_content from http_content when common_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 to packer-plugin-vsphere in v1.0.2. When set to true the virtual machine will not be imported into the content library. This is useful for testing/debugging. Defaults to false.

Full Changelog:

v0.5.0...v0.5.1

v0.5.0

06 Apr 14:13
f491ac4
Compare
Choose a tag to compare

Note

Release Date: 2021-10-11
Previous Versioning: v21.10

  • Adds the config.sh to create config/*.prkvars.hcl (default) files from the examples in builds/.

  • Adds the option for create >1 set of configuration set by passing an argument to config.sh (e.g. config.sh config/us-west-1) and the pass the configuration set to build.sh (e.g. build.sh config/us-west-1).

  • Use of the content library is now optional by updating the config/common.pkvars.hcl settings to the following:

    common_template_conversion     = true
    common_content_library    = null
    common_content_library_ovf     = false
    common_content_library_destroy = false
  • Adds support for a SOCKS proxy by editing config/proxy.pkvars.hcl.

  • Adds the ability to set the IP address to bind the HTTP server by editing the common_http_ip in config/common.pkvars.hcl from null to an IP address on the Packer host:

    common_http_ip = "172.16.11.100"
  • Add configurable data source provisioning for Linux images. By default, HTTP is used for the kickstart. By editing the common_data_source in config/common.pkvars.hcl from http to disk the build will use a disk-based method, such as a .iso as the secondary CD-ROM. This is useful for environments that can not communicate back to the Packer host's HTTP server.

    common_data_source = "disk"
  • Renames all certificates to *.ctr.example and *.pb7.example. Please add your own custom certificates to the directories per the README.md.

  • Adds the ability for Packer to be run from any directory by including the use of $(path.cwd)/.

  • Adds the ansible provisioner to Linux builds for base configuration using roles. More updates to follow.

  • Adds information on least privilege service account using a custom role in vSphere.

  • Adds a Terraform example for creation of the custom role in vSphere.

  • Updates manifests to use manifests/ and a JSON output based on the timestamp.

  • Updates manifests to use include relevant data in the JSON output for the build.

  • Adds RHEL 7 and CentoOS 7 back to the builds per requests.

  • Refactors RHEL and RHEL derivative kickstarts templates.

  • Adds Windows 10 Professional.

  • Updates PhotonOS to efi-secure.

  • Updates Ubuntu 20.04 LTS to efi-secure.

  • Adds vendor provided filename and checksums to the build examples.

  • Updates CONTRIBUTING.md with the contributor workflow.

  • Adds headers to various scripts and files, as needed.

  • Add public keys and specific Terraform files to .gitignore.

  • Updates issue templates to use forms.

  • Various bugfixes and code cleanliness.

  • Bumped Packer to >= 1.7.6.

  • Thanks to the new contributors: @sestegra, @metabsdm, and @gcblack!

New Contributors:

Full Changelog:

v0.4.1...v0.5.0

v0.4.1

06 Apr 14:13
a982647
Compare
Choose a tag to compare

Note

Release Date: 2021-09-16
Previous Versioning: v21.09.1

  • Refactors issue templates to use GitHub custom issue forms.
  • Refactors all builds to pass the language, keyboard, and timezone to the configuration files.
  • Updates the Rocky Linux build to use UEFI; however without secure boot.
  • Updates the defaults in common.pkvars.hcl to use hardware version 19, which provides the best performance and latest features available in ESXi 7.0 U2.
  • Refactors all builds with input variable definitions separated into variables.pkr.hcl.
  • Refactors all builds to use <build>.auto.pkvars.hcl for input variables the and<build>.pkr.hcl for the template configurations, with simplified names for <build>.
  • Refactors all builds to use ${path.cwd}/output/ as the path for the manifest post-processor.
  • Adds disclaimers and Updates descriptions in script files.
  • Updates README.md.

Full Changelog:

v0.4.0...v0.4.1

v0.4.0

06 Apr 14:12
2c57355
Compare
Choose a tag to compare

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 of http_directory and http_file.
  • Refactors builds for Microsoft Windows to use cd_content instead of floppy_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 in build.sh.
  • Updates MAINTAINERS.md.
  • Updates CONTRIBUTING.md.
  • Updates README.md.

Full Changelog:

v0.3.0...v0.4.0