Merge "Fix tacker installation"
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 8 Sep 2016 11:09:04 +0000 (11:09 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Thu, 8 Sep 2016 11:09:04 +0000 (11:09 +0000)
jjb/fuel/fuel-deploy.sh

index 136aac8..2104d90 100755 (executable)
@@ -143,14 +143,17 @@ expect {
 expect "# "
 send "/usr/bin/ssh -l root $::env(CONTROLLER_NODE_IP)\r"
 expect "# "
+send "PS1=\"tacker_poc> \"\r"
+expect -re {tacker_poc> $}
 send "sudo apt-get install -y git\r"
-expect "# "
+expect -re {tacker_poc> $}
+sleep 10
 send "/bin/mkdir -p /root/sfc-poc && cd /root/sfc-poc\r"
-expect "# "
+expect -re {tacker_poc> $}
 send "git clone https://gerrit.opnfv.org/gerrit/fuel && cd fuel\r"
-expect "# "
+expect -re {tacker_poc> $}
 send "/bin/bash /root/sfc-poc/fuel/prototypes/sfc_tacker/poc.tacker-up.sh\r"
-expect "# "
+expect -re {tacker_poc> $}
 send "exit\r"
 expect "Connection to $::env(CONTROLLER_NODE_IP) closed. "
 send "exit\r"