Layering hostname/hosts (#5)

* Layering hostname/hosts

* Fix build

* Use origin files on new overlay
This commit is contained in:
Pascal Vizeli
2018-04-27 18:20:06 +02:00
committed by GitHub
parent 5a6b8c5bbe
commit e544c14d3d
8 changed files with 36 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Hostname persistent configuration
Requires=mnt-overlay.mount
After=mnt-overlay.mount systemd-tmpfiles-setup.service
Before=network.target
[Mount]
What=/mnt/overlay/etc/hostname
Where=/etc/hostname
Type=none
Options=bind
[Install]
WantedBy=hassio-bind.target