Code Review
/
yaml_builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update sr-iov templates to openstack rocky
[yaml_builds.git]
/
tools
/
2genesis.sh
diff --git
a/tools/2genesis.sh
b/tools/2genesis.sh
index
3c2888b
..
e41eb40
100755
(executable)
--- a/
tools/2genesis.sh
+++ b/
tools/2genesis.sh
@@
-59,6
+59,9
@@
python $YAML_BUILDS/scripts/jcopy.py $SITE.yaml $YAML_BUILDS/tools/j2/serverrc.j
echo "# Stage Airship files on Genesis"
scp $YAML_BUILDS/tars/promenade-bundle-$SITE.tar $GENESIS_HOST:/tmp/
ssh $GENESIS_HOST << EOF
echo "# Stage Airship files on Genesis"
scp $YAML_BUILDS/tars/promenade-bundle-$SITE.tar $GENESIS_HOST:/tmp/
ssh $GENESIS_HOST << EOF
+ echo "#########################################"
+ echo "# Setup deployment files on genesis host"
+ echo "#########################################"
# TODO avoid following hard coding$
route add -net 192.168.41.0/24 gw 192.168.2.1 bond0.41
mkdir -p /root/akraino
# TODO avoid following hard coding$
route add -net 192.168.41.0/24 gw 192.168.2.1 bond0.41
mkdir -p /root/akraino
@@
-66,6
+69,10
@@
ssh $GENESIS_HOST << EOF
cp /tmp/promenade-bundle-$SITE.tar .
tar -xmf promenade-bundle-$SITE.tar
mv configs/promenade-bundle/deploy_site.sh .
cp /tmp/promenade-bundle-$SITE.tar .
tar -xmf promenade-bundle-$SITE.tar
mv configs/promenade-bundle/deploy_site.sh .
+ mv configs/promenade-bundle/update_software.sh .
+ mv configs/promenade-bundle/openrc .
+ cp configs/promenade-bundle/run_openstack_cli.sh /usr/local/bin/openstack
+ find . -type f -not -path "./tools/*" -not -path "./global/*"
EOF
echo "# Waiting for BIOS updates to finish on master and worker nodes"
EOF
echo "# Waiting for BIOS updates to finish on master and worker nodes"