home.switch-rack: use password for authentication
This commit is contained in:
parent
fe7d57aca0
commit
7eb2bf68d8
3 changed files with 13 additions and 4 deletions
3
nodes.py
3
nodes.py
|
@ -15,3 +15,6 @@ for node in Path(join(repo_path, "nodes")).rglob("*.py"):
|
|||
for name, data in nodes.items():
|
||||
data.setdefault('hostname', '.'.join(reversed(name.split('.'))) + '.kunbox.net')
|
||||
data.setdefault('metadata', {}).setdefault('hostname', '.'.join(reversed(name.split('.'))) + '.kunbox.net')
|
||||
|
||||
if 'password' in data:
|
||||
data['password'] = vault.decrypt(data['password'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue