/esxi-packer-templates

VMware ESXi Packer templates

Primary LanguageShell

VMware ESXi Packer templates

Prerequisites

  • Packer > 1.5
  • VMware Fusion or Workstation

Build artifacts

This packer template requires to variables to be set either via command line or separate JSON file:

  1. iso_file - is the ESXi ISO for the build (can be local or remote).
  2. iso_checksum - is the ESXi ISO checksum you can find on MyVMware when downloading the image, prefixed with the type (such as md5:).

To kick off a full build:

packer build \
       -var 'iso_file=iso/VMware-VMvisor-Installer-7.0U1c-17325551.x86_64.iso' \
       -var 'iso_checksum=md5:4829a336445741bf13f10bcb79723d40' \
       packer-esxi.json

The Packer template and the scripts have been tested with ESXi version 5.5, 6.x and 7.0.1.

Default root password for the resulting Vagrant box is Vagrant!23.

Legal

Copyright © 2015 VMware, Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, without warranties or conditions of any kind, EITHER EXPRESS OR IMPLIED. See the License for the specific language governing permissions and limitations under the License.