Skip to content

rgl/packer-qemu-ansible-debian-example

Repository files navigation

About

This shows how to provision a VM image using Ansible from a Packer template.

Usage (Ubuntu 24.04)

Install packer, qemu/kvm, docker, make, vagrant and the Debian 13 UEFI vagrant box.

Provision the VM image and vagrant box:

make

Try using the VM image in a new VM:

vagrant box add -f packer-qemu-ansible-debian-example packer-qemu-ansible-debian-example.box
pushd example
vagrant up --no-destroy-on-error --no-tty --provider=libvirt
vagrant ssh
exit
vagrant destroy -f
popd
vagrant box remove -f packer-qemu-ansible-debian-example

List this repository dependencies (and which have newer versions):

GITHUB_COM_TOKEN='YOUR_GITHUB_PERSONAL_TOKEN' ./renovate.sh

About

provision a VM image using Ansible from a Packer template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors