Attempt to enable IPv6 for Linux

This commit is contained in:
Alex Crichton 2019-05-21 10:33:19 -07:00
parent 0e5f02f902
commit 571366f71b
1 changed files with 9 additions and 0 deletions

View File

@ -37,6 +37,15 @@ steps:
- template: install-windows-build-deps.yml
# Looks like docker containers have IPv6 disabled by default, so let's turn it
# on since libstd tests require it
- bash: |
set -e
echo '{"ipv6":true,"fixed-cidr-v6":"fd9a:8454:6789:13f7::/64"}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
displayName: Enable IPv6
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
# Check out all our submodules, but more quickly than using git by using one of
# our custom scripts
- bash: |