[SOLVED] Howto startup VM using an ignition file

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hi,

I want to startup a VM using an ignition file.
This is a QEMU VM provided by Fedora CoreOS project here.

The instructions on the project page say:
"4. Specify the Ignition file to the hypervisor. In the case of QEMU, this is done with the -fw_cfg parameter, which sets the opt/com.coreos/config key in the QEMU firmware configuration device.
[...]
qemu-system-x86_64 -machine accel=kvm -m 2048 -cpu host -nographic -drive if=virtio,file=path/to/fedora-coreos-qemu.qcow2 -device virtio-rng-pci -fw_cfg name=opt/com.coreos/config,file=path/to/example.ign
[...]
"

Question:
Is there any way to startup this VM with Proxmox VE using an ignition file?

THX
 
You can edit your '<vmid>.conf' file in /etc/pve/qemu-server to include a line as follows:
Code:
args: -fw_cfg name=opt/com.coreos/config,file=path/to/example.ign
which will append your configuration line to the QEMU command line. Verify with qm showcmd <vmid> --pretty.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!