Move CopyCat log to $KARAF_DATA/raft
Change-Id: I97f4766279f875c15c818d4b7f0b168e06e85ac1
diff --git a/tools/test/bin/onos-install b/tools/test/bin/onos-install
index b3f84e4..c13b8b9 100755
--- a/tools/test/bin/onos-install
+++ b/tools/test/bin/onos-install
@@ -35,6 +35,10 @@
mkdir $ONOS_INSTALL_DIR/var
mkdir $ONOS_INSTALL_DIR/config
+ # create dir for Raft log
+ # TODO: use $KARAF_DATA
+ mkdir -p -- $ONOS_INSTALL_DIR/$KARAF_DIST/data/raft
+
# Install the upstart configuration file and setup options for debugging
[ -z "$nostart" ] && sudo cp $ONOS_INSTALL_DIR/debian/onos.conf /etc/init/onos.conf
echo 'export ONOS_OPTS=debug' > $ONOS_INSTALL_DIR/options