summaryrefslogtreecommitdiffstats
path: root/xci/scripts/vm/start-new-vm.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-02-28 15:11:38 +0000
committerFatih Degirmenci <fdegir@gmail.com>2018-02-28 15:11:38 +0000
commitc8dfb6d4964499bd5289215dcdf11d0a7699b405 (patch)
treee5882960d5f77af8ca8261ea35690e387abd72a6 /xci/scripts/vm/start-new-vm.sh
parent4307ead229533fc0dd9f076dcdd5e5fa299313b0 (diff)
Fix the proxy command and hostname for opnfv vm in ssh config
Change-Id: Ic036a4f5ef8b24b88154f9314957339d3954839a Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'xci/scripts/vm/start-new-vm.sh')
-rwxr-xr-xxci/scripts/vm/start-new-vm.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh
index 4f15f917..31c7337e 100755
--- a/xci/scripts/vm/start-new-vm.sh
+++ b/xci/scripts/vm/start-new-vm.sh
@@ -288,10 +288,11 @@ Host *_xci_vm
User devuser
Host *_xci_vm_opnfv
+Hostname 192.168.122.2
User root
TCPKeepAlive yes
StrictHostKeyChecking no
-ProxyCommand ssh -l devuser \$(echo %h | sed 's/_opnfv//') 'nc 192.168.122.2 %p'
+ProxyCommand ssh -l devuser -i ${BASE_PATH}/xci/scripts/vm/id_rsa_for_dib ${OS}_xci_vm -W %h:%p
EOF
# Final ssh command which will also test the configuration file