Skip to content

flatcar/flatcar-packer-qemu

Flatcar OS Discord Matrix Slack Twitter Follow Mastodon Follow Bluesky OpenSSF Best Practices

Note: To file an issue for any Flatcar repository, please use the central Flatcar issue tracker.

flatcar-packer-qemu

A basic Packer template, Makefile and ignition config file to build QEMU images and a Vagrant box for Flatcar Linux.

Installation

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.

Basic example using defaults (alpha release)

$ make flatcar-linux

Building the stable release

$ make flatcar-linux RELEASE=stable VERSION=1632.3.0

Building in headless mode

$ make flatcar-linux HEADLESS=true

Other make targets

Delete builds:

$ make clean

Delete the packer cache (making packer download the latest iso image on next build):

$ make cache-clean

Running the Vagrant box using libvirt as provider

$ vagrant up --provider=libvirt

Other works

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 .


Community & Project Documentation

  • Contributing Guidelines — How to contribute, find issues, and submit pull requests
  • Code of Conduct — Standards for respectful and inclusive community participation
  • Security Policy — How to report vulnerabilities and security-related information
  • Maintainers — Current project maintainers and their responsibilities
  • Governance — Project governance model, decision-making process, and roles

About

Packer templates for building Flatcar vagrant/qemu images

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors