Add more nameservers to resolv.conf

This commit is contained in:
Les De Ridder 2015-09-28 14:45:41 +02:00
parent 71f271c56f
commit 82e4df6d9a
1 changed files with 10 additions and 1 deletions

View File

@ -412,7 +412,16 @@ stage1_install() {
log "Preparing bootstrap filesystem ..."
echo "Server = ${archlinux_mirror}/\$repo/os/\$arch" > /d2a/work/archroot/etc/pacman.d/mirrorlist
echo 'nameserver 8.8.8.8' > /d2a/work/archroot/etc/resolv.conf
cat > /d2a/work/archroot/etc/resolv.conf <<-EOF
# Google IPv6 nameservers
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
# Google IPv4 nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4
EOF
log "Installing base system ..."
chroot /d2a/work/archroot pacman-key --init