Fixing onos-run-karaf to not use for IP
Change-Id: Ic11f62b24783e6dd88ba3e42a98af4e25626b382
diff --git a/tools/package/onos-run-karaf b/tools/package/onos-run-karaf
index 5da0ea6..e64ee0e 100755
--- a/tools/package/onos-run-karaf
+++ b/tools/package/onos-run-karaf
@@ -26,8 +26,7 @@
unset ONOS_USE_SSH
# Create config/cluster.json (cluster metadata)
-ONOS_IP=${ONOS_IP:-127.0.0.1}
-IP="${1:-$ONOS_IP}"
+IP=${ONOS_IP:-127.0.0.1}
echo "Creating local cluster configs for IP $IP..."
[ -d $ONOS_HOME/config ] || mkdir -p $ONOS_HOME/config
cat > $ONOS_HOME/config/cluster.json <<EOF