1 2steps: 3 # https://github.com/actions/virtual-environments/issues/798 4 - script: sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf 5 displayName: Bypass local DNS server to workaround issue resolving cognitiveservices names 6 condition: | 7 and( 8 succeededOrFailed(), 9 contains(variables['OSVmImage'], 'ubuntu'), 10 eq(variables['Container'], '') 11 )