Automatically add the virsh IP to known hosts 71/38771/1
authorMartin Kulhavy <martin.kulhavy@nokia.com>
Fri, 4 Aug 2017 14:23:36 +0000 (17:23 +0300)
committerMartin Kulhavy <martin.kulhavy@nokia.com>
Fri, 4 Aug 2017 14:23:36 +0000 (17:23 +0300)
commitcc1297789f961b9e45a9381d35e9e97e5d1e551a
tree33228416d9ec73681d221f405dbc46f38ef2c9e6
parent9466f8cf264aa85dab6807e9689f9b1949385174
Automatically add the virsh IP to known hosts

During the generation of the bootstrap VM, ssh connection to the host
machine is opened. If the IP is not yet in the list of known hosts,
the installation blocks and waits for user input.
The fix queries the host and adds the ssh fingerprint(s) to the list of
known hosts, if it is not present already.

Change-Id: I3e4bbb80811ab880e7271970713047c5d4ccca0f
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
ci/03-maasdeploy.sh