diff --git a/scripts/sandbox-install b/scripts/sandbox-install index 5dbe5bd..3c67c3c 100644 --- a/scripts/sandbox-install +++ b/scripts/sandbox-install @@ -31,7 +31,7 @@ PACKAGES_AUR=( SERVICES=( "systemd-networkd.service" "systemd-resolved.service" "systemd-timesyncd.service" - "fstrim.service" "docker.service" "ovs-vswitchd.service" + "fstrim.service" "docker.service" "ovs-vswitchd.service" "marionnet.service" ) SWAP_SIZE=16G @@ -184,6 +184,25 @@ cd bibliotheque-graphique make make install +# Install Marionnet +cd /tmp +wget -O marionnet_from_scratch https://www.marionnet.org/site/index.php/fr/documentation/installation/from-scratch +chmod +x +PREFIX=$(marionnet --paths | awk '/share.marionnet.filesystem/ {print $3}') +PREFIX=${PREFIX%share/marionnet/filesystems} +./marionnet_from_scratch -O -p $PREFIX -s 0.90.x + +# Create a service for Marionnet +echo "[Unit] +Description=Daemon for Marionnet + +[Service] +ExecStart=/usr/local/sbin/marionnet-daemon.native + +[Install] +WantedBy=multi-user.target +" > /etc/systemd/system/marionnet.service + # Enable the services systemctl enable "${SERVICES[@]}"