diff options
Diffstat (limited to 'scripts/install_odl_from_jumphost.sh')
-rwxr-xr-x | scripts/install_odl_from_jumphost.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/install_odl_from_jumphost.sh b/scripts/install_odl_from_jumphost.sh new file mode 100755 index 0000000..436053e --- /dev/null +++ b/scripts/install_odl_from_jumphost.sh @@ -0,0 +1,14 @@ +#!/bin/bash +SCRIPT_DIR=$(dirname $0) +. $SCRIPT_DIR/lib.sh +REMOTE_ODL_LOC=/opt/$(basename "$1") +copy_to_controllers $1 $REMOTE_ODL_LOC +if [[ $(echo $NODES | wc -w) -gt 1 ]] +then + exec_on_controllers /root/fds/scripts/install_odl.sh $REMOTE_ODL_LOC -c +else + exec_on_controllers /root/fds/scripts/install_odl.sh $REMOTE_ODL_LOC +fi + +sleep 60 +$SCRIPT_DIR/remount_vpp_into_odl.sh |