项目作者: kinvolk

项目描述 :
Packer templates for building Flatcar vagrant/qemu images
高级语言: Makefile
项目地址: git://github.com/kinvolk/flatcar-packer-qemu.git
创建时间: 2018-03-08T11:24:03Z
项目社区:https://github.com/kinvolk/flatcar-packer-qemu

开源协议:Apache License 2.0

下载




Flatcar OS
Matrix
Slack
Twitter Follow
Mastodon Follow
Bluesky

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.

  1. $ packer -v

Verify that you have ct installed, or use the ct target to install it to /usr/local/bin for you:

  1. $ sudo make ct

For all options to customize the image properties, see the Makefile variables.

Basic example using defaults (alpha release)

  1. $ make flatcar-linux

Building the stable release

  1. $ make flatcar-linux RELEASE=stable VERSION=1632.3.0

Building in headless mode

  1. $ make flatcar-linux HEADLESS=true

Other make targets

Delete builds:

  1. $ make clean

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

  1. $ make cache-clean

Running the Vagrant box using libvirt as provider

  1. $ 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 .