A set of example Packer templates for building Debian and Ubuntu boxes on VMware ESXi. These are built on the remote ESXi host, then shutdown and left registered. A lot of this work comes out of boxes, which provides the basic template formation.
They assume that it's possible to fetch an IP through DHCP on the primary (VM Network
) network. If this isn't the case, you can adjust the boot command to
set a static IP.
This example repo comes out of this post I wrote on how to use Packer with VMware ESXi.
packer build -var-file variables.json ubuntu-1604-base.json
Ensure that variables.json
contains valid values.
Copyright (c) 2016 Nick Charlton. MIT Licensed.