VMware userdata cloud-init no network for RHEL 8

This is the first time I’m using a VMware image rather than a network boot option. I followed the readme from https://github.com/theforeman/foreman_userdata but given I’m running Foreman 2.0.1 that is now baked in.

I was able to get the network working without the 10_foreman.cfg no cloud file. That is the new vm has a fully configured, connected network with hostname set. But when I do have the file which I obviously need for the cloud-init config, the VM boots with not network config. The network adapter in VMware is disconnected and the hostname is default. I’m using a RHEL 8 template. Not sure what I’m doing wrong here. Any advice would be great.


Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Silly mistake. I was missing perl in the RHEL template.

1 Like

Ok great, for the record instructions are here:


Tell us if we can improve.

No all good. I should RTFM properly. Also found this helpful :slight_smile: https://access.redhat.com/blogs/1169563/posts/3640721