Fedora Core OS - Provisiong on VMware (afterburn)

Hi all,

I try to use Fedora Core OS with VMware. I try to inject hostname & ip address to my machine. Based on my understanding this is typical task for afterburn.

I was looking for some documentation but couldn’t find any.
The new afterburn feature (see):
“providers/vmware: support injecting custom network kargs” looks promising, but I’m missing documentation how to use it. In addition, I have the feeling that there might be even an easier way to achieve my goal.

Can you guys help me out?


Hi and welcome!

As you can see from the release details, the latest version of Afterburn with such feature has not yet reached all the streams (e.g. stable is currently still on 4.3.3). I’m planning to augment the docs as soon as that feature can be used on all current images/streams. Additionally, docs are currently not up-to-date due to a fedora-infra problem: https://pagure.io/fedora-infrastructure/issue/8964.

In the meanwhile, you can experiment/play with network kargs by using a testing or next image.

Following the steps in the current docs, you can add something like this right before booting up the VM for the first time:

govc vm.change -vm "${VM_NAME}" -e "guestinfo.afterburn.initrd.network-kargs=${IPCFG}"

The ip= syntax is documented at https://www.man7.org/linux/man-pages/man7/dracut.cmdline.7.html. Please note that those parameters are only used on first-boot.

Partially related to this, beware of this bug: https://github.com/coreos/fedora-coreos-tracker/issues/484.

Thanks a lot! I will look into it.

Follow-up question to:

I was under the assumption that afterburn would run after ignition. Is this not the case?

Some part of it yes (e.g. the SSH-keys fetching logic).
This specific network-kargs logic runs before Ignition, so that it can be used to configure a static network to fetch remote Ignition resources.