Verified Commit 49c6d92d authored by David Runge's avatar David Runge 🐿
Browse files

Use stub-resolv.conf for /etc/resolv.conf
Change the source of `/etc/resolv.conf` to point to
`/run/systemd/resolve/stub-resolv.conf`, as it provides support for
per-interface resolving [1].

Fixes #123

parent 5951f422
......@@ -97,7 +97,7 @@ function postinstall() {
sed -i -e 's/^#\(en_US.UTF-8\)/\1/' "${MOUNT}/etc/locale.gen"
arch-chroot "${MOUNT}" /usr/bin/locale-gen
arch-chroot "${MOUNT}" /usr/bin/systemd-firstboot --locale=en_US.UTF-8 --timezone=UTC --hostname=archlinux --keymap=us
ln -sf /var/run/systemd/resolve/resolv.conf "${MOUNT}/etc/resolv.conf"
ln -sf /run/systemd/resolve/stub-resolv.conf "${MOUNT}/etc/resolv.conf"
# Cleanup the image and trim it
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment