Fixing onos-run-karaf to not use for IP
Change-Id: Ic11f62b24783e6dd88ba3e42a98af4e25626b382
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -26,8 +26,7 @@ export ONOS_HOME=$PWD | ... | @@ -26,8 +26,7 @@ export ONOS_HOME=$PWD |
26 | unset ONOS_USE_SSH | 26 | unset ONOS_USE_SSH |
27 | 27 | ||
28 | # Create config/cluster.json (cluster metadata) | 28 | # Create config/cluster.json (cluster metadata) |
29 | -ONOS_IP=${ONOS_IP:-127.0.0.1} | 29 | +IP=${ONOS_IP:-127.0.0.1} |
30 | -IP="${1:-$ONOS_IP}" | ||
31 | echo "Creating local cluster configs for IP $IP..." | 30 | echo "Creating local cluster configs for IP $IP..." |
32 | [ -d $ONOS_HOME/config ] || mkdir -p $ONOS_HOME/config | 31 | [ -d $ONOS_HOME/config ] || mkdir -p $ONOS_HOME/config |
33 | cat > $ONOS_HOME/config/cluster.json <<EOF | 32 | cat > $ONOS_HOME/config/cluster.json <<EOF | ... | ... |
-
Please register or login to post a comment