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 toenforcing
mode applying cloud-init settings fail. - On RHEL 7 it seems that
cloud-init
only applies network interfaces. But for example hostname and root password is not applied. cloud-init
works fine when SELinux is set topermissive
mode 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.