diff options
Diffstat (limited to 'files/firstboot/24-create-resolv-symlink.sh')
-rw-r--r-- | files/firstboot/24-create-resolv-symlink.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/files/firstboot/24-create-resolv-symlink.sh b/files/firstboot/24-create-resolv-symlink.sh new file mode 100644 index 0000000..e4a65b4 --- /dev/null +++ b/files/firstboot/24-create-resolv-symlink.sh @@ -0,0 +1,4 @@ +logger -t "rc.firstboot" "Creating /etc/resolv.conf symlink" +if [ -f "/run/systemd/resolve/resolv.conf" ] ; then + ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf +fi |