bundles/{systemd,hostname}: add hostname control
This commit is contained in:
parent
ae82e9cd51
commit
6656a0864f
6 changed files with 28 additions and 2 deletions
8
bundles/hostname/files/hosts
Normal file
8
bundles/hostname/files/hosts
Normal file
|
@ -0,0 +1,8 @@
|
|||
127.0.0.1 localhost localhost.localdomain ${node.hostname}
|
||||
|
||||
::1 ip6-localhost
|
||||
fe00::0 ip6-localnet
|
||||
ff00::0 ip6-mcastprefix
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
ff02::3 ip6-allhosts
|
7
bundles/hostname/items.py
Normal file
7
bundles/hostname/items.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
# TODO support non-systemd systems
|
||||
|
||||
files = {
|
||||
'/etc/hosts': {
|
||||
'content_type': 'mako',
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue