Create RHEL custom image with ifcfg-eth0 and subscription

Posted August 25, 2021 198 views
Custom Images

I’m creating the image locally on VMWare with ifcfg-eth0 configured and subscription configured as well.
But when I’m importing that to DO images I can’t see ifcfg-eth0 file [/etc/sysconfig/network-scripts/ifcfg-eth0] nor subscription active

What I’m doing wrong?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey there!

Does your image contain a cloud-init configuration? Images must have cloud-init 0.7.7 or higher, cloudbase-init, coreos-cloudinit, ignition, or bsd-cloudinit installed and configured correctly in order for them to work on DigitalOcean.