introduce node.metadata['hostname'] to other bundles, update nodefiles to reflect changes
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
de73552700
commit
831545d8b1
11 changed files with 24 additions and 18 deletions
3
nodes.py
3
nodes.py
|
@ -9,3 +9,6 @@ for node in Path(join(repo_path, "nodes")).rglob("*.py"):
|
|||
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