Thomas Vachuska

Fixing onos-uninstall to be idempotent.

Fixing toms & andrea cells to by default use secure CLI access.

Change-Id: Icf951de4cad396fa3925b397270aedfb320b8855
......@@ -34,9 +34,12 @@ ssh $remote "
[ -z \"\$(ps -ef | grep karaf.jar | grep -v grep)\" ] && break
sleep 1
done
[ -z \"\$(ps -ef | grep karaf.jar | grep -v grep)\" ] || echo 'ONOS failed to stop.'
[ -z \"\$(ps -ef | grep karaf.jar | grep -v grep)\" ] || \
(echo 'ONOS failed to stop.'; status=1)
# Remove onos directory and init file
sudo rm -fr $ONOS_INSTALL_DIR
[ -f /etc/init/onos.conf ] && sudo rm /etc/init/onos.conf
[ -d $ONOS_INSTALL_DIR ] && sudo rm -fr $ONOS_INSTALL_DIR
[ -f /etc/init/onos.conf ] && sudo rm -f /etc/init/onos.conf
exit \${status:-0};
"
......
......@@ -7,4 +7,5 @@ export OC3="10.128.12.3"
export OCN="10.128.12.4"
export OCT=$OC1
export ONOS_APPS=drivers,openflow,proxyarp
export ONOS_USE_SSH=true
export ONOS_APPS=drivers,openflow,proxyarp,mobility
......
......@@ -7,4 +7,5 @@ export OC3="10.128.11.3"
export OCN="10.128.11.4"
export OCT=$OC1
export ONOS_APPS=drivers,openflow,proxyarp
\ No newline at end of file
export ONOS_USE_SSH=true
export ONOS_APPS=drivers,openflow,proxyarp,mobility
\ No newline at end of file
......