Skip to content

HashiCorp Packer code to build portable virtual machines in OVA format for Ubuntu, Debian and Redhat based systems with automated installers Kickstart, Preseed and AutoInstaller / Cloud-Init. Useful for IoT edge sites, Kubernetes base systems and VM appliances to ship to customers

License

Notifications You must be signed in to change notification settings

HariSekhon/Packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hari Sekhon - HashiCorp Packer templates

GitHub stars GitHub forks Lines of Code License My LinkedIn GitHub Last Commit

Codacy CodeFactor Quality Gate Status Maintainability Rating Reliability Rating Security Rating

HCL Linux Mac

Mac Homebrew CentOS Debian Fedora Redhat Rocky Ubuntu

Repo on GitHub Repo on GitLab Repo on Azure DevOps Repo on BitBucket

CI Builds Overview Validation Kics Grype Semgrep Semgrep Cloud Trivy

HashiCorp Packer HCL Redhat Kickstart Debian Preseed Ubuntu AutoInstall Cloud-Init

Packer templates for building portable OVA virtual machines images.

Useful for IoT edge sites, Kubernetes base servers etc.

Bare metal servers can be installed using each Linux distro's native automated installers.

Virtual Machines as appliances in portable OVA format are 100% automated using the installers above.

The primary templates are for the main Linux distributions:

  • Ubuntu - using Ubuntu AutoInstaller
  • Debian - using Debian Preseeding
  • Redhat - using Redhat Kickstart
    • Redhat Enterprise Linux (RHEL)
    • CentOS (end-of-life)
    • Rocky Linux (CentOS replacement)
    • Fedora

VM OVA appliances can be created in any number of different virtualization systems supported by Packer.

You must install your virtualization system before running Packer.

The following builds are provided for these combinations of Linux distros, arches and virtualization systems:

Quick Start

Running make <distro> will build the portable virtual machine OVA for that Linux distribution 100% automated using that distro's native installer's automation method:

make debian

results in:

output-debian/debian-12.ova
output-debian/debian-12.md5
output-debian/debian-12.sha512

You can then just import the debian.ova file on any virtualization platform such as VMware vSphere or your local VirtualBox.

Easy Customization

Tweak the corresponding text files for that distro eg.

*.pkr.hcl
installers/*
scripts/*

and then re-run

make <distro>

or for a specific build:

make <distro>-<major_version>

Stargazers over time

Stargazers over time

More Core Repos

Knowledge

Readme Card Readme Card

DevOps Code

Readme Card Readme Card Readme Card Readme Card

Containerization

Readme Card Readme Card

CI/CD

Readme Card Readme Card

DBA - SQL

Readme Card

DevOps Reloaded

Readme Card Readme Card Readme Card Readme Card Readme Card

Templates

Readme Card Readme Card

Misc

Readme Card Readme Card

The rest of my original source repos are here.

Pre-built Docker images are available on my DockerHub.

About

HashiCorp Packer code to build portable virtual machines in OVA format for Ubuntu, Debian and Redhat based systems with automated installers Kickstart, Preseed and AutoInstaller / Cloud-Init. Useful for IoT edge sites, Kubernetes base systems and VM appliances to ship to customers

Topics

Resources

License

Stars

Watchers

Forks