allow setting hostname in metadata
This commit is contained in:
parent
5d1e71e83e
commit
c2c9913514
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
127.0.0.1 localhost ${node.name} ${node.hostname}
|
||||
% if 'hostname' in node.metadata:
|
||||
127.0.0.1 ${node.metadata['hostname']}
|
||||
% endif
|
||||
|
||||
::1 ip6-localhost
|
||||
fe00::0 ip6-localnet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue