Add SSH host/login/password/key when creating VPN servers

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
test2
2026-07-25 21:23:12 +03:00
co-authored by Cursor
parent e8fb5ca00c
commit 088f02cdbe
7 changed files with 442 additions and 34 deletions
-3
View File
@@ -6,7 +6,6 @@ from app.config import settings
from app.database import SessionLocal
from app.models import AdminUser
from app.security import hash_password
from app.services.vpn import ensure_default_servers
async def bootstrap() -> None:
@@ -34,8 +33,6 @@ async def bootstrap() -> None:
await session.commit()
print(f"Admin user '{settings.admin_username}' synced from ENV")
await ensure_default_servers(session)
if __name__ == "__main__":
asyncio.run(bootstrap())