Add more nameservers to resolv.conf
This commit is contained in:
parent
71f271c56f
commit
82e4df6d9a
11
install.sh
11
install.sh
|
@ -412,7 +412,16 @@ stage1_install() {
|
||||||
|
|
||||||
log "Preparing bootstrap filesystem ..."
|
log "Preparing bootstrap filesystem ..."
|
||||||
echo "Server = ${archlinux_mirror}/\$repo/os/\$arch" > /d2a/work/archroot/etc/pacman.d/mirrorlist
|
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 ..."
|
log "Installing base system ..."
|
||||||
chroot /d2a/work/archroot pacman-key --init
|
chroot /d2a/work/archroot pacman-key --init
|
||||||
|
|
Loading…
Reference in New Issue