Open ivomarino opened 1 month ago
turns out the problem is hardcoded set-name: eth0
on OpenBSD, see: https://github.com/churchers/vm-bhyve/blob/master/lib/vm-core#L284, if we remove this line, or rename eth0
to vio0
everything works fine
Ivo do you know how to use more of the Cloud init features? Is there a way to pass a yaml file or something?
I see you use -C -n
to set the network but I use DHCP so I don't need that.
I pass the key with -k but that's about all I know.
How do we use other features like to set the hostname for example? I don't need that either as the hostname get's set to the VM's name, just trying to figure out how to use cloud init.
when I try to use the following OpenBSD 7.5 cloud image from https://github.com/hcartiaux/openbsd-cloud-image/releases/download/v7.5_2024-05-13-15-25/openbsd-min.qcow2 with this config:
cloud-init fails during network setup, this is the error:
Tested both this vm-bhyve versions:
any suggestions? Thanks