Layering hostname/hosts (#5)
* Layering hostname/hosts * Fix build * Use origin files on new overlay
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Hosts persistent configuration
|
||||
Requires=mnt-overlay.mount
|
||||
After=mnt-overlay.mount systemd-tmpfiles-setup.service
|
||||
Before=network.target
|
||||
|
||||
[Mount]
|
||||
What=/mnt/overlay/etc/hosts
|
||||
Where=/etc/hosts
|
||||
Type=none
|
||||
Options=bind
|
||||
|
||||
[Install]
|
||||
WantedBy=hassio-bind.target
|
||||
Reference in New Issue
Block a user