diff --git a/meshbook.py b/meshbook.py index c878baa..61bca1d 100644 --- a/meshbook.py +++ b/meshbook.py @@ -66,7 +66,7 @@ async def init_connection(credentials: dict) -> meshctrl.Session: ''' session = meshctrl.Session( - credentials['websocket_url'], + credentials['hostname'], user=credentials['username'], password=credentials['password'] ) diff --git a/os_categories.json b/os_categories.json new file mode 100644 index 0000000..9213310 --- /dev/null +++ b/os_categories.json @@ -0,0 +1,18 @@ +{ + "Linux": { + "Debian": [ + "Debian GNU/Linux 12 (bookworm)", + "Debian GNU/Linux 11 (bullseye)" + ], + "Ubuntu": [ + "Ubuntu 24.04.1 LTS", + "Ubuntu 22.04.5 LTS", + "Ubuntu 20.04.6 LTS" + ] + }, + "MacOS": { + "Sequoia": [ + "macOS 15.0.1" + ] + } +} \ No newline at end of file diff --git a/templates/meshcentral.conf.template b/templates/meshcentral.conf.template index dc1cee3..c8c2ffd 100644 --- a/templates/meshcentral.conf.template +++ b/templates/meshcentral.conf.template @@ -1,4 +1,4 @@ [meshcentral-account] -websocket_url = +hostname = username = password = \ No newline at end of file