Fix ssh issues when fetching the creds of Instack VM (Apex) 59/4059/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Tue, 8 Dec 2015 11:02:48 +0000 (12:02 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Tue, 8 Dec 2015 11:02:48 +0000 (12:02 +0100)
JIRA:RELENG-61

Change-Id: I879fa009d53b6ea586b1fd04c52a7c3c23918427
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
utils/fetch_os_creds.sh

index 93d68e8..7856e0d 100755 (executable)
@@ -106,7 +106,7 @@ elif [ "$installer_type" == "apex" ]; then
     # The credentials file is located in the Instack VM (192.0.2.1)
     # NOTE: This might change for bare metal deployments
     info "Fetching rc file from Instack VM $installer_ip..."
-    sudo scp root@$installer_ip:/home/stack/overcloudrc $dest_path &> /dev/null
+    sudo scp $ssh_options root@$installer_ip:/home/stack/overcloudrc $dest_path
 
 elif [ "$installer_type" == "compass" ]; then
     verify_connectivity $installer_ip