diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-09-01 00:55:53 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-09-01 00:55:53 +0000 |
commit | c3cf88125271ea76695519f47ba56eac997fc904 (patch) | |
tree | e94c78eb3a819ceac26a74d828b5b8c58cb8a51f | |
parent | 6b51b809665b325ef4b6c71e4397d9a454ba35c3 (diff) |
Missing "-y" when install docker.io
Change-Id: I1c94d148bf62aba6e21fcabe1908931c6732327f
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
-rwxr-xr-x | jjb/yardstick/yardstick-daily.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/yardstick/yardstick-daily.sh b/jjb/yardstick/yardstick-daily.sh index c91ea47a1..aaefba26e 100755 --- a/jjb/yardstick/yardstick-daily.sh +++ b/jjb/yardstick/yardstick-daily.sh @@ -60,7 +60,7 @@ map_log_dir="-v ${dir_result}:/tmp/yardstick" # Run docker if [[ ${INSTALLER_TYPE} == "joid" && "${DEPLOY_SCENARIO:0:2}" == "k8" ]];then - juju ssh kubernetes-master/0 sudo apt-get install docker.io + juju ssh kubernetes-master/0 sudo apt-get install -y docker.io cmd="juju ssh kubernetes-master/0 sudo docker run ${opts} ${envs} ${rc_file_vol} ${cacert_file_vol} ${map_log_dir} ${sshkey} opnfv/yardstick:${DOCKER_TAG} exec_tests.sh ${YARDSTICK_DB_BACKEND} ${YARDSTICK_SCENARIO_SUITE_NAME}" else cmd="sudo docker run ${opts} ${envs} ${rc_file_vol} ${cacert_file_vol} ${map_log_dir} ${sshkey} opnfv/yardstick:${DOCKER_TAG} \ |