change-iso-password.sh fails with "Error: SELinux relabeling of /root is not allowed"

Solution Verified - Updated -

Issue

When troubleshooting issues with hosts not showing up in the Assisted Installer, the change-iso-password.shscript provided by Red Hat to patch the Full Discovery ISO image fails with "Error: SELinux relabeling of /root is not allowed"

Environment

Red Hat OpenShift Assisted Installer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content