Skip to content

Commit 59a4522

Browse files
authored
Merge pull request #1558 from cevich/new_python_images
Cirrus: Use updated VM images
2 parents a2dccca + 0f36349 commit 59a4522

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828
UBUNTU_NAME: "ubuntu-2110"
2929

3030
# Google-cloud VM Images
31-
IMAGE_SUFFIX: "c6226133906620416"
31+
IMAGE_SUFFIX: "c4764556961513472"
3232
FEDORA_CACHE_IMAGE_NAME: "fedora-${IMAGE_SUFFIX}"
3333
PRIOR_FEDORA_CACHE_IMAGE_NAME: "prior-fedora-${IMAGE_SUFFIX}"
3434
UBUNTU_CACHE_IMAGE_NAME: "ubuntu-${IMAGE_SUFFIX}"

contrib/cirrus/runner.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ _run_setup() {
6464
# Required for testing the SIF transport
6565
dnf install -y fakeroot squashfs-tools
6666

67+
msg "Removing systemd-resolved from nsswitch.conf"
68+
# /etc/resolv.conf is already set to bypass systemd-resolvd
69+
sed -i -r -e 's/^(hosts.+)resolve.+dns/\1dns/' /etc/nsswitch.conf
70+
6771
# A slew of compiled binaries are pre-built and distributed
6872
# within the CI/Dev container image, but we want to run
6973
# things directly on the host VM. Fortunately they're all

0 commit comments

Comments
 (0)