diff --git a/plans/main.fmf b/plans/main.fmf index 4d837feb4a..40c292d079 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -13,3 +13,16 @@ adjust: how: install directory: tmp/RPMS/noarch when: how == full + + # Disable systemd-resolved to prevent dns failures + # See: https://github.com/teemtee/tmt/issues/2063 + - prepare+: + - name: disable-systemd-resolved + how: shell + script: | + systemctl disable systemd-resolved + systemctl mask systemd-resolved + rm -f /etc/resolv.conf + systemctl restart NetworkManager + cat /etc/resolv.conf + when: trigger == commit