A project for building Fedora CoreOS boxes for Vagrant.
Based upon the work from https://github.com/mihailutasu/vagrant-fedora-coreos
- Packer
- VirtualBox
- Podman or Docker (or FCCT installed) - to generate your own Ignition files
- jq - if you want to download the latest images of CoreOS
In config.ign.yml
you'll find a YAML-formatted Butane config.
It must conform to the Spec.
The password generated for the config is vagrant
which was generated by coreos mkpasswd.
If you update it you can generate the transpiled_config.ign
:
./util/makeign.sh
This outputs the Ignition config used in the install. It will be used by packer to perform the coreos-installer pxe ignition wrap.
You might also want to update stable.pkrvars.hcl
file first, to the latest versions:
./update_vars.sh
To build a box, you need to run packer.
packer build -var-file="stable.pkrvars.hcl" fedora-coreos.pkr.hcl
This will download the ISO image (if not already in packer's cache) and will build the box.
You can also add the pre-built boxes in Vagrant:
vagrant box add gigaohm/fedora-coreos
Copyright 2022, Gigaohm LLC
Copyright 2020, Mihai Lutasu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.