diff --git a/install/usr/share/swarmlab.io/sec/run-gui.sh b/install/usr/share/swarmlab.io/sec/run-gui.sh new file mode 100644 index 0000000..86dd94d --- /dev/null +++ b/install/usr/share/swarmlab.io/sec/run-gui.sh @@ -0,0 +1,2 @@ +xhost +local:docker +docker exec -e DISPLAY=$DISPLAY microservice-oletools_masterservice_1 /bin/sh -c "olebrowse" diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index aaf6455..fa7b2a6 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -272,6 +272,7 @@ fi /bin/mkdir -p $Wdir/project +/bin/mkdir -p $Wdir/logs /bin/cp -rf $DIR/project/bin $Wdir/project /bin/cp -rf $DIR/project/courses $Wdir/project /bin/cp -f $DIR/project/hello_world.sh $Wdir/project @@ -281,6 +282,7 @@ fi /bin/cp -f $DIR/ROOT_PASSWORD $Wdir/ROOT_PASSWORD /bin/cp -rf $DIR/.vimrc $Wdir/.vimrc /bin/cp -rf $DIR/bin $Wdir +/bin/cp -rf $DIR/run-gui.sh $Wdir/run-gui.sh /bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh