mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
feat: auto add ssh forward ports
This commit is contained in:
2
main.py
2
main.py
@@ -43,6 +43,8 @@ if __name__ == "__main__":
|
||||
with open("/etc/nginx/stream_include.conf", "w") as f:
|
||||
for vmo in vmList:
|
||||
[ f.write(c) for c in vmo.dumpStreamComponents()]
|
||||
for vmo in set(vmList):
|
||||
[ f.write(c) for c in vmo.dumpSshFowardsNginx()]
|
||||
|
||||
with open("/etc/nginx/http_include.conf", "w") as f:
|
||||
for vmo in vmList:
|
||||
|
||||
Reference in New Issue
Block a user