From 84b747b7924c2e3c9a9acd2a653fe22043f82c7a Mon Sep 17 00:00:00 2001 From: Lorenzo Castelli Date: Fri, 3 May 2019 14:14:22 -0700 Subject: Removes nsswitch resolve workaround. This is no longer necessary with the new version of compute-image-packages. --- build-arch-gce | 6 ------ 1 file changed, 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." -- cgit v1.3