Jian Li
Committed by Gerrit Code Review

Try to remove stale localDB when commanding onos-setup-karaf clean

Change-Id: Ia8ec887d8236b87611c7ca1953e865780789a88d
...@@ -46,8 +46,8 @@ fi ...@@ -46,8 +46,8 @@ fi
46 46
47 # If clean option was specified, wipe-out existing installation 47 # If clean option was specified, wipe-out existing installation
48 if [ "$CLEAN" = "true" ]; then 48 if [ "$CLEAN" = "true" ]; then
49 - echo "Removing existing ONOS Karaf, apps, and config directories..." 49 + echo "Removing existing ONOS Karaf, apps, data and config directories..."
50 - [ -d $KARAF_ROOT ] && rm -fr $KARAF_ROOT $STAGE/apps $STAGE/config 50 + [ -d $KARAF_ROOT ] && rm -fr $KARAF_ROOT $STAGE/apps $STAGE/data $STAGE/config
51 fi 51 fi
52 52
53 # If IP was not given, nor configured attempt to use ONOS_NIC env. variable 53 # If IP was not given, nor configured attempt to use ONOS_NIC env. variable
......