Arch boxes build with mkosi
GPL-3.0 License
Arch boxes build with mkosi, this is an work in progress project to port arch-boxes over to mkosi.
A 20GB qcow2 image with a default arch
user (password arch
) with
password-less sudo and sshd
enabled.
An image with by default cloud-init
installed and enabled, no user or password setup.
Vagrant "boxes" for the virtualbox and libvirt provider.
mkdir -p vagrant/mkosi.{cache,output}
mkdir -p images/mkosi.{cache,output}
mkosi -C vagrant --profile libvirt build
Recommended mkosi.local.conf
for caching build steps:
[Host]
Incremental=true
ToolsTree=default
vagrant box add archvirt /path/to/Arch-Linux-x86_64-virtualbox-latest.box
vagrant init archvirt
vagrant up
After the box has been booted:
vagrant ssh
To clean this up:
vagrant destroy
vagrant box remove archvirt
Arch does not package the vagrant libvirt provider plugin, so the easiest way to use the container image. (Note that the podman invocation only binds a few paths into the container)
vagrant.sh box add archlibvirt /path/to/Arch-Linux-x86_64-libvirt-latest.box
The other testing steps are the same as the Virtualbox image.