bundles/{systemd,hostname}: add hostname control

This commit is contained in:
Franzi 2020-03-27 12:46:10 +00:00
parent ae82e9cd51
commit 6656a0864f
Signed by: kunsi
GPG key ID: 12E3D2136B818350
6 changed files with 28 additions and 2 deletions

View 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

View file

@ -0,0 +1,7 @@
# TODO support non-systemd systems
files = {
'/etc/hosts': {
'content_type': 'mako',
},
}