From 9267deb089e40ca8352e14392d32dcbc5480f319 Mon Sep 17 00:00:00 2001 From: QiLiang Date: Thu, 6 Jul 2017 15:25:01 +0800 Subject: 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 --- ci/dev_dep_check.sh | 3 ++- contrib/simple_deploy.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 contrib/simple_deploy.sh 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 -- cgit 1.2.3-korg