add hostshare
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-28 23:51:22 +00:00
parent 21c1fa5d9a
commit 11aaf00d8d
3 changed files with 6 additions and 1 deletions

View File

@@ -118,7 +118,7 @@
"hint": "Directory on the host to share with the VM", "hint": "Directory on the host to share with the VM",
"placeholder": "/shared/app-data", "placeholder": "/shared/app-data",
"required": false, "required": false,
"env_variable": "HOST_SHARE_DIR" "env_variable": "TSCLIENT"
} }
], ],
"supported_architectures": ["amd64"] "supported_architectures": ["amd64"]

View File

@@ -48,6 +48,10 @@
{ {
"key": "LEASE_TIME", "key": "LEASE_TIME",
"value": "${LEASE_TIME:-12h}" "value": "${LEASE_TIME:-12h}"
},
{
"key": "TSCLIENT",
"value": "${TSCLIENT:-/hostshare}"
} }
], ],
"internalPort": 8006, "internalPort": 8006,

View File

@@ -24,6 +24,7 @@ services:
- VM_MAC=${VM_MAC:-52:54:00:12:34:56} - VM_MAC=${VM_MAC:-52:54:00:12:34:56}
- DNS_SERVERS=${DNS_SERVERS:-1.1.1.1,8.8.8.8} - DNS_SERVERS=${DNS_SERVERS:-1.1.1.1,8.8.8.8}
- LEASE_TIME=${LEASE_TIME:-12h} - LEASE_TIME=${LEASE_TIME:-12h}
- TSCLIENT=${TSCLIENT:-/hostshare}
volumes: volumes:
- /etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2:/vm/linux-vm.qcow2 - /etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2:/vm/linux-vm.qcow2
- /etc/runtipi/user-config/runtipi/rego-tunnel/shared:/shared - /etc/runtipi/user-config/runtipi/rego-tunnel/shared:/shared