Files
operating-system/buildroot-external/rootfs-overlay/usr/lib/systemd/system/etc-hosts.mount
Pascal Vizeli e544c14d3d Layering hostname/hosts (#5)
* Layering hostname/hosts

* Fix build

* Use origin files on new overlay
2018-04-27 18:20:06 +02:00

15 lines
270 B
SYSTEMD

[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