From: QiLiang Date: Thu, 6 Jul 2017 07:25:01 +0000 (+0800) Subject: Tiny fix for easy install scirpt X-Git-Tag: opnfv-5.0.0~119^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=9267deb089e40ca8352e14392d32dcbc5480f319;p=apex.git Tiny fix for easy install scirpt - add several dependent packages - fix random no deploy log display - chmod +x simple_deploy.sh Change-Id: If18114b9fe8ba527abee907fa14eecf93beba098 Signed-off-by: QiLiang --- diff --git a/ci/dev_dep_check.sh b/ci/dev_dep_check.sh index fe4976a1..7a14563c 100755 --- a/ci/dev_dep_check.sh +++ b/ci/dev_dep_check.sh @@ -35,7 +35,8 @@ fi for i in epel-release python34-PyYAML openvswitch libguestfs \ libguestfs-tools-c libvirt-python python2-oslo-config \ python2-debtcollector python34-devel libxslt-devel \ - libxml2-devel python-virtualbmc python34-jinja2 python34-pip; do + libxml2-devel python-virtualbmc python34-jinja2 python34-pip \ + rpm-build wget libvirt ntpdate; do # Make sure deploy deps are installed if ! rpm -q $i > /dev/null; then if ! sudo yum install -y $i; then diff --git a/contrib/simple_deploy.sh b/contrib/simple_deploy.sh old mode 100644 new mode 100755 index 0b9b6caa..24b67904 --- a/contrib/simple_deploy.sh +++ b/contrib/simple_deploy.sh @@ -15,5 +15,6 @@ popd pushd $apex_home/ci echo "All further output will be piped to $PWD/nohup.out" (nohup ./deploy.sh -v -n $apex_home/config/network/network_settings.yaml -d $apex_home/config/deploy/os-odl-nofeature-noha.yaml &) +[ -f nohup.out ] || sleep 3 tail -f nohup.out popd