Create short lived ssh key for enable-ssh-admin.sh
authorJiri Stransky <jistr@redhat.com>
Wed, 18 Oct 2017 13:19:44 +0000 (15:19 +0200)
committerEmilien Macchi <emilien@redhat.com>
Mon, 23 Oct 2017 15:45:37 +0000 (15:45 +0000)
commit492031afd388121cf62643812c5af59d823d0669
tree75682e34eead5eecad8be6d720381a3745d8a693
parent8da5e1f7006d8128e83fe151da930dc5a670180d
Create short lived ssh key for enable-ssh-admin.sh

Instead of using the key provided by user on the command line, create
a new short-lived key, give it to Mistral to create a tripleo-admin
user with it, and remove the short-lived key.

Co-Authored-By: John Fulton <fulton@redhat.com>
Change-Id: I6e6ed83fa62319d59d7289b16a1412a340ea6b26
Closes-Bug: #1724578
(cherry picked from commit b0e72c1413c9441aa592b56583e87715e7096152)
deployed-server/scripts/enable-ssh-admin.sh