diff options
| author | Lorenzo Castelli <lcastelli@google.com> | 2019-05-03 14:14:22 -0700 |
|---|---|---|
| committer | Lorenzo Castelli <lcastelli@google.com> | 2019-05-03 14:14:22 -0700 |
| commit | 84b747b7924c2e3c9a9acd2a653fe22043f82c7a (patch) | |
| tree | dd68fef63407b9bed50c30aeb93c2ffc2163232f /build-arch-gce | |
| parent | 5fa35496ac3bf11de730423d642e45fc411e9b4b (diff) | |
| download | compute-archlinux-image-builder-0.2.tar.xz | |
Removes nsswitch resolve workaround.0.2
This is no longer necessary with the new version of compute-image-packages.
Diffstat (limited to 'build-arch-gce')
| -rwxr-xr-x | build-arch-gce | 6 |
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." |
