Commit e3e4905a authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'issues/123' into 'master'

Use stub-resolv.conf for /etc/resolv.conf

Closes #123

See merge request !149
parents 5951f422 49c6d92d
Pipeline #3425 passed with stages
in 35 minutes and 1 second
......@@ -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
......
Markdown is supported
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