Use vm_torrent_srv
to configure the torrent server
This commit is contained in:
parent
320ad3a51d
commit
0f4e455717
5 changed files with 512 additions and 510 deletions
19
roles/lmn_vm/templates/vm.conf.j2
Normal file
19
roles/lmn_vm/templates/vm.conf.j2
Normal file
|
@ -0,0 +1,19 @@
|
|||
# variables for LMN VM submodule
|
||||
|
||||
SEEDBOX_HOST="{{ vm_torrent_srv }}"
|
||||
SEEDBOX_PORT=6789
|
||||
SEEDBOX_RPC_PORT=6800
|
||||
SEEDBOX_PWFILE="/etc/lmn/uploadseed.conf"
|
||||
DHTDAT="/var/cache/aria2/dht.dat"
|
||||
DESKTOPSTARTERDIR="/srv/samba/schools/default-school/share/school/AdminIT/desktop/"
|
||||
|
||||
VM_SYSDIR="/lmn/vm"
|
||||
if [[ -v SUDO_UID ]]; then
|
||||
VM_DIR="/var/tmp/vm/${SUDO_UID}/vm"
|
||||
VM_DIR_PERSISTENT="/var/vm/${SUDO_UID}"
|
||||
else
|
||||
VM_DIR="/var/tmp/vm/${UID}/vm"
|
||||
VM_DIR_PERSISTENT="/var/vm/${UID}"
|
||||
fi
|
||||
|
||||
VM_MEDIADIR="/lmn/media/${USER}"
|
Loading…
Add table
Add a link
Reference in a new issue