citadel/meta-citadel/recipes-connectivity/networkmanager/files/watch-resolvconf.path
Bruce Leidl bf78fa6fd2 watch /run/NetworkManager for creation of resolv.conf
Then copy it to persistent storage location which can be bind mounted
into images
2018-02-16 18:22:12 -05:00

11 lines
185 B
SYSTEMD

[Unit]
Description=Watch /run/NetworkManager
[Path]
PathExists=/run/NetworkManager/resolv.conf
PathChanged=/run/NetworkManager
MakeDirectory=true
[Install]
WantedBy=multi-user.target