distribute VM-images with aria2 instead of ctorrent

This commit is contained in:
Raphael Dannecker 2024-01-19 20:08:19 +01:00
parent e30a7032a5
commit 40962fd9de
23 changed files with 444 additions and 434 deletions

View file

@ -0,0 +1,14 @@
# variables for LMN VM submodule
SEEDBOX_HOST=seedbox.pn.steinbeis.schule
SEEDBOX_PORT=6789
SEEDBOX_RPC_PORT=6800
VM_SYSDIR="/lmn/vm"
if [[ -v SUDO_UID ]]; then
VM_DIR="/tmp/${SUDO_UID}/vm"
VM_DIR_PERSISTENT="/var/vm/${SUDO_UID}"
else
VM_DIR="/tmp/${UID}/vm"
VM_DIR_PERSISTENT="/var/vm/${UID}"
fi