github vmware-samples/packer-examples-for-vsphere v0.5.0

latest releases: v0.20.0, v0.19.1, v0.19.0...
one month ago

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

Don't miss a new packer-examples-for-vsphere release

NewReleases is sending notifications on new releases.