Add container/VM autodiscovery, optional username in config, and management scripts
This commit is contained in:
@@ -61,6 +61,9 @@ def parse_infrastructure_conf():
|
||||
url = parts[1] if len(parts) > 1 else ''
|
||||
if '@' in entry:
|
||||
user, host = entry.split('@', 1)
|
||||
else:
|
||||
user, host = 'infmap', entry
|
||||
if host:
|
||||
servers.append({
|
||||
'group': current_group or 'Default',
|
||||
'username': user.strip(),
|
||||
|
||||
Reference in New Issue
Block a user