Home

Awesome

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 Markdown 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:

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>

Star History

Star History Chart

More Core Repos

<!-- OTHER_REPOS_START -->

Knowledge

Readme Card Readme Card

<!-- Not support on GitHub Markdown: <iframe src="https://raw.githubusercontent.com/HariSekhon/HariSekhon/main/knowledge.md" width="100%" height="500px"></iframe> Does nothing: <embed src="https://raw.githubusercontent.com/HariSekhon/HariSekhon/main/knowledge.md" width="100%" height="500px" /> -->

DevOps Code

Readme Card Readme Card Readme Card Readme Card

<!-- [![Gist Card](https://github-readme-stats.vercel.app/api/gist?id=f8f551332440f1ca8897ff010e363e03)](https://gist.github.com/HariSekhon/f8f551332440f1ca8897ff010e363e03) -->

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.

<!-- 1x1 pixel counter to record hits -->

<!-- OTHER_REPOS_END -->