How to enable root password authentication with cloud-init in instances of Red Hat OpenStack Platform

Solution In Progress - Updated -

Issue

By cloud-init when starting RHEL 7 instance sshd_config of sshd is rewritten and PasswordAuthentication yes becomes PasswordAuthentication no.
How to does the user-data cloud config need to be configured in order to enable password authentication for the root user?

Environment

Red Hat Enterprise Linux OpenStack Platform 6.0 and above

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