add deditect dependencies while installation of openstack

parent d7a40819
#!/bin/bash
set -x
# Note: this script only can be run on *EXT node*.
workingdir=$(cd `dirname $0`; pwd)
cd ~/download
wget http://www.red-dove.com/config-0.3.9.tar.gz
tar -xzf config-0.3.9.tar.gz
cd config-0.3.9
python setup.py install
cd ../
rm -rf config-0.3.9.tar.gz
cd $workingdir
......@@ -56,6 +56,27 @@ index dcdb11d..54ce7a8 100644
./build_juno/multi-setup.sh $$experimentid ifsetup $$computescount
production:
diff --git a/build_juno/deditect-env-setup.sh b/build_juno/deditect-env-setup.sh
index bdcdf3a..c425642 100755
--- a/build_juno/deditect-env-setup.sh
+++ b/build_juno/deditect-env-setup.sh
@@ -3,9 +3,11 @@ set -x
# Note: this script only can be run on *EXT node*.
workingdir=$(cd `dirname $0`; pwd)
-wget http://www.red-dove.com/config-0.3.7.tar.gz
-tar -xz config-0.3.7.tar.gz
+cd ~/download
+wget http://www.red-dove.com/config-0.3.9.tar.gz
+tar -xzf config-0.3.9.tar.gz
cd config-0.3.9
-sudo python setup.py install
-cd ..
-rm -rf config-0.3.9 config-0.3.7.tar.gz
+python setup.py install
+cd ../
+rm -rf config-0.3.9.tar.gz
+cd $workingdir
diff --git a/build_juno/ext_setup.sh b/build_juno/ext_setup.sh
index 43d7ee6..10561b1 100755
--- a/build_juno/ext_setup.sh
......@@ -86,7 +107,7 @@ index 810a222..98a7f28 100755
function setup.images_propagate () {
diff --git a/build_juno/multi-setup.sh b/build_juno/multi-setup.sh
index 51db0f5..a8f22f7 100755
index 51db0f5..559c553 100755
--- a/build_juno/multi-setup.sh
+++ b/build_juno/multi-setup.sh
@@ -60,6 +60,13 @@ function setup.ifsetup() {
......@@ -118,7 +139,18 @@ index 51db0f5..a8f22f7 100755
glance image-list ; \
rm -r $workingdir/images ; }"
}
@@ -430,8 +438,10 @@ then
@@ -384,6 +392,10 @@ function setup.ptcontroller_env () {
$sshext "{ $workingdir/ptcontroller-env-setup.sh ; }"
}
+function setup.deidtect_env () {
+ $sshcontroller "{ $workingdir/deditect-env-setup.sh ; }"
+}
+
function setup.network_init () {
$sshcontroller "{ $workingdir/init.sh; }"
}
@@ -430,8 +442,10 @@ then
setup.preinstall
setup.ntp
setup.openstack_packages
......@@ -130,20 +162,25 @@ index 51db0f5..a8f22f7 100755
setup.database controller
setup.rejoin_network
setup.message_server controller
@@ -448,6 +458,7 @@ then
@@ -448,6 +462,8 @@ then
setup.internet
setup.ptcontroller_env
setup.network_init
+ setup.gresetup
+ setup.deidtect_env
# setup.virt_environment
# # the command above makes the system to be rebooted.
# sleep 10m
@@ -541,4 +552,8 @@ then
@@ -541,4 +557,12 @@ then
if [ "$2" == "ifsetup" ]; then
setup.ifsetup
fi
+
+ if [ "$2" == "gresetup" ]; then
+ setup.gresetup
+ fi
+
+ if [ "$2" == "deidtectenv" ]; then
+ setup.deidtect_env
+ fi
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment