Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kristian Klausen
arch-boxes
Commits
e3e4905a
Commit
e3e4905a
authored
Dec 10, 2020
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
build-inside-vm.sh
View file @
e3e4905a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment