cleanup some more kunsi leftovers
This commit is contained in:
parent
4c55f0878d
commit
2c6073854b
4 changed files with 8 additions and 16 deletions
7
nodes.py
7
nodes.py
|
@ -7,10 +7,3 @@ from bundlewrap.metadata import atomic
|
|||
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
|
||||
with open(node, 'r') as f:
|
||||
exec(f.read())
|
||||
|
||||
for name, data in nodes.items():
|
||||
if 'hostname' not in data.keys():
|
||||
data['hostname'] = '.'.join(reversed(name.split('.'))) + '.kunbox.net'
|
||||
|
||||
if 'hostname' not in data['metadata'].keys():
|
||||
data['metadata']['hostname'] = '.'.join(reversed(name.split('.'))) + '.kunbox.net'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue