Thomas Vachuska

Enhanced onos-install to pre-stage ONOS artifacts from apache karaf system/org/o…

…nlab to ~/.m2/repository/org/onlab to enable operating karaf instances.
...@@ -39,8 +39,9 @@ ssh $remote " ...@@ -39,8 +39,9 @@ ssh $remote "
39 [ -z "$nostart" ] && sudo cp $ONOS_INSTALL_DIR/debian/onos.conf /etc/init/onos.conf 39 [ -z "$nostart" ] && sudo cp $ONOS_INSTALL_DIR/debian/onos.conf /etc/init/onos.conf
40 echo 'export ONOS_OPTS=debug' > $ONOS_INSTALL_DIR/options 40 echo 'export ONOS_OPTS=debug' > $ONOS_INSTALL_DIR/options
41 41
42 - # Remove any previous ON.Lab bits from ~/.m2 repo 42 + # Remove any previous ON.Lab bits from ~/.m2 repo and re-stage it.
43 rm -fr ~/.m2/repository/org/onlab 43 rm -fr ~/.m2/repository/org/onlab
44 + cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onlab ~/.m2/repository/org/onlab
44 45
45 # Drop log level for the console 46 # Drop log level for the console
46 echo "log4j.logger.org.apache.sshd = WARN" \ 47 echo "log4j.logger.org.apache.sshd = WARN" \
......