I have a baremetal server with Xen, and Debian 9 as DOM0.
This server has libvirt, and I can happily create PV domains by using xl
, virsh
or remotely using virt-manager
.
I want to streamline coreos
VM creation, by passing them at creation time an ignition JSON so they get the proper name, network config and basic services.
So far, I managed to get SSH keys into the new coreos instances by using a config-2 partition, but that uses coreos-cloudinit
which is kind of deprecated, and the network does not get configured. I have to get into the VM and create /etc/systemd/network/00-eth*
files and reboot.
Could not find a proper way have the configuration for the VM be on the DOM0 at creation. Any pointers?