aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Castelli <lcastelli@google.com>2019-05-03 14:14:22 -0700
committerLorenzo Castelli <lcastelli@google.com>2019-05-03 14:14:22 -0700
commit84b747b7924c2e3c9a9acd2a653fe22043f82c7a (patch)
treedd68fef63407b9bed50c30aeb93c2ffc2163232f
parent5fa35496ac3bf11de730423d642e45fc411e9b4b (diff)
downloadcompute-archlinux-image-builder-84b747b7924c2e3c9a9acd2a653fe22043f82c7a.tar.xz
Removes nsswitch resolve workaround.0.2
This is no longer necessary with the new version of compute-image-packages.
-rwxr-xr-xbuild-arch-gce6
1 files changed, 0 insertions, 6 deletions
diff --git a/build-arch-gce b/build-arch-gce
index 6768fa9..ffa9a22 100755
--- a/build-arch-gce
+++ b/build-arch-gce
@@ -162,12 +162,6 @@ arch-chroot -- "$mount_dir" /bin/bash -s -- "$loop_dev" <<-'EOS'
GRUB_DISABLE_RECOVERY=true
EOF
grub-mkconfig -o /boot/grub/grub.cfg
-
- # Workaround a bug where shutdown gets stuck on failed DNS resolution.
- gawk -i assert -i inplace '
- /^hosts:/ && sub(/\s*resolve \[!UNAVAIL=return\]/, "") { ++f }
- { print } END { assert(f == 1, "f == 1") }' /etc/nsswitch.conf
-
EOS
echo "- Cleaning up and finalizing the image."