A basic Packer template, Makefile and ignition config file to build QEMU images and a Vagrant box for Flatcar Linux.
Verify that you have Packer installed.
$ packer -v
Verify that you have ct installed, or use the ct
target to install it to /usr/local/bin
for you:
$ sudo make ct
For all options to customize the image properties, see the Makefile variables.
$ make flatcar-linux
$ make flatcar-linux RELEASE=stable VERSION=1632.3.0
$ make flatcar-linux HEADLESS=true
Delete builds:
$ make clean
Delete the packer cache (making packer download the latest iso image on next build):
$ make cache-clean
$ vagrant up --provider=libvirt
This repository is based on other works such as https://github.com/dyson/packer-qemu-coreos-container-linux or https://github.com/bfraser/packer-coreos-qemu .