1 2 3 4 5 6 7 8 9 10
[Trigger] Type = Package Operation = Install Operation = Upgrade Target = filesystem [Action] Description = Re-pointing /etc/resolv.conf symlink to /run/systemd/resolve/stub-resolv.conf... When = PostTransaction Exec = /usr/bin/ln -sfT /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf