summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2017-07-06 15:25:01 +0800
committerQiLiang <liangqi1@huawei.com>2017-07-06 19:09:47 +0800
commit9267deb089e40ca8352e14392d32dcbc5480f319 (patch)
tree7e73a7576904f518490a485a3c86f3e3812dfb7d
parent89bffdb811f8ca932ff13ed92f5f3b64f1b66277 (diff)
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 <liangqi1@huawei.com>
-rwxr-xr-xci/dev_dep_check.sh3
-rwxr-xr-x[-rw-r--r--]contrib/simple_deploy.sh1
2 files changed, 3 insertions, 1 deletions
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
index 0b9b6caa..24b67904 100644..100755
--- 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