cloud-init partially fails with SELinux in enforced mode
Issue
- We do face an issue with RHEL 7 using
cloud-init. When SELinux is set toenforcingmode applying cloud-init settings fail. - On RHEL 7 it seems that
cloud-initonly applies network interfaces. But for example hostname and root password is not applied. cloud-initworks fine when SELinux is set topermissivemode ordisabled.
Environment
- Red Hat Enterprise Linux 7 (RHEL)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.