Skip to content
Snippets Groups Projects
Commit 073bb875 authored by minute's avatar minute
Browse files

mkuserland: keep dns server around until we teach nm to reliably do it

parent 3b64984d
No related branches found
No related tags found
1 merge request!47System Image V3 Release
......@@ -11,6 +11,9 @@ SKEL=./template-skel
# populate /etc
cp $ETC/motd target-userland/etc
# FIXME: network-manager fails to create this most of the time,
# which leads to a bad user experience. we'll gladly change this once
# we figure out how to make DNS server discovery always work with nm.
echo "nameserver 8.8.8.8" > target-userland/etc/resolv.conf
chroot target-userland /bin/bash <<EOF
......@@ -56,8 +59,4 @@ rm /usr/share/applications/gnome-online-accounts-panel.desktop
# run font cache
fc-cache
# remove /etc/resolv.conf leaking into the image from the build host
touch /etc/resolv.conf
rm /etc/resolv.conf
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment