Skip to content

Instantly share code, notes, and snippets.

View macco-chewy's full-sized avatar

Mike Cherry macco-chewy

View GitHub Profile
@macco-chewy
macco-chewy / InstallHashicorpPackerOnCentOS.md
Last active January 6, 2018 01:13
Installation Instructions for Packer on CentOS - Easy but with one caveat

Introduction

I was introduced to Packer by one of my coworkers, @rms1000watt, while describing my setup at home. I have a SMB network full of various appliance servers running as VMs on an ESXi server. Since I'm not a datacenter brimming with the cash to pay for vCenter or Puppet premium recipes I've been hand-rolling my VMs. But, NO LONGER!!! Enter Packer (and Terraform, et cetera).

Install It!

The details for installation are covered at https://www.packer.io/intro/getting-started/install.html. Just download your flavor, unzip, and move the binary to your folder of choice. I chose /usr/local/bin/packer.

The Caveat

Turns out all Redhat-based distros (maybe all distros?) with cracklib installed already have a binary called packer. So, if you get an error running packer similar to the following...