Fix undercloud key upload to nova keypairs UC post
Fix undercloud key upload to nova keypairs UC post

Stdin does not work for the 'openstack keypair create' command
used in extraconfig/post_deploy/undercloud_post.sh, when installed
via Heat templates.

This ends up with different keys created for underlcoud admin and
the default nova keypair, which is configured by Ironic for
overcloud nodes. So those can not be contacted by undercloud
admin via SSH.

The deployed-server/scripts/enable-ssh-admin.sh fails w/o
that fix and makes not possible to deploy BM/OVB overcloud on top
of UC installed with Heat.

Change-Id: Ifb9c2d5eef731c41999d4ef5daa447edf74fd262
Co-authored-by: Harald Jensas <2bd5400e600240acc17694c09a04a2a7e3272d93@redhat.com>
Signed-off-by: Bogdan Dobrelya <a2228ae37d00d1cbd5a93e53f3e1e5aef21d5900@redhat.com>

dprince/tripleo-heat-templates,openstack/tripleo-heat-templates,openstack/tripleo-heat-templates,dprince/tripleo-heat-templates