/Rancher-Packer

Packer Templates for Rancher

Primary LanguageShellApache License 2.0Apache-2.0

Build Templates v2

Packer Templates for Rancher

This repo contains Packer templates suitable to create RKE VM's for a number of IaaS providers. These can be used as-is or used as a basis for further customisation

How to use

  • Clone the repo
  • Rename variables.json.example to variables.json
  • Populate variables.json with information specific to your environment
  • If desired, replace script.sh with one of the variants located in the corresponding customisation_scripts folder.
  • Build with the template and variables files. For example : packer build -var-file=variables.json ubuntu-18.json

Current Templates

vSphere

OS Version Base Install Script Additional Install Script Variants
Centos 7 Link None
OpenSuse Leap 15.2 Link None
OpenSuse Leap 15.3 Link None
RHEL 7 Link None
RHEL 8 Link None
SLES 15 SP 2 Link None
SLES 15 SP 3 Link None
SLES 15 SP 4 Link None
Ubuntu 18.04 Link Disable DHCP
Ubuntu 20.04 Link Disable DHCP
Guestinfo OVF
Longhorn
Ubuntu 22.04 Link

To do

  • CentOS 8