Allowing Root Login with Cloud-init

By default, a RHEL cloud image will not allow you to SSH as root on our host.  You must use your SSH key and login as cloud-user.  That said, you can easily change this behavior my passing the following cloud-init yaml file:

#cloud-config
# vim:syntax=yaml
debug: True
ssh_pwauth: True
disable_root: false
chpasswd:
  list: |
    root:password
    cloud-user:password
  expire: false
runcmd:
- sed -i'.orig' -e's/without-password/yes/' /etc/ssh/sshd_config
- service sshd restart