This repository contains Packer configuration and Ansible scripts to create a base ArchLinux image for use on oVirt/QEMU. It includes the bare minimum of additional software beyond cloud-init, ovirt-guest-agent, and the AUR helper yay.
The configuration pattern is cribbed heavily from elasticdog/packer-arch but reorganized and reimplemented in Ansible to better support my own workflow.
The default configuration is as follows:
- 1CPU
- 512MB RAM
- 8GB disk
- LVM configured with a single PV and VG
- Single root LVM partition formatted ext4
- No swap
- Includes
base
andbase-devel
package groups
This configuration assumes that you have Packer, Ansible, and QEMU installed and configured on your local system. I am building on ArchLinux so generally this will be tested against the latest versions available there. To build:
$ git clone https://github.com/aetherith/packer-ovirt-arch.git
$ cd packer-ovirt-arch
$ cp ~/.ssh/id_rsa.pub ./srv/ssh.pub
$ packer build config.json
As configured the default user is admin
and the only way to login is to use the
SSH key specified at creation.