[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.