diff options
Diffstat (limited to 'tool/travis_disable_ipv6.sh')
-rwxr-xr-x | tool/travis_disable_ipv6.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tool/travis_disable_ipv6.sh b/tool/travis_disable_ipv6.sh deleted file mode 100755 index 97ba179d6e..0000000000 --- a/tool/travis_disable_ipv6.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -set -ex -ip a -sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 -sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 -sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1 -ip a - -cat /etc/hosts -sudo ruby -e "hosts = File.read('/etc/hosts').sub(/^::1\s*localhost.*$/, ''); File.write('/etc/hosts', hosts)" -cat /etc/hosts |