diff options
author | Brad Warren <bmw@eff.org> | 2016-08-10 21:51:12 +0300 |
---|---|---|
committer | Brad Warren <bmw@eff.org> | 2016-08-10 21:51:12 +0300 |
commit | fd1629e347a3fce7cf2bc63b7e05063e3d294cd8 (patch) | |
tree | ff24aef4175b15665027b46d83282cff92af43fe /tests | |
parent | dd1de2bc9e4d6de7ffb7192dede23fcc68618510 (diff) |
Make letstest docker ip more robust
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/letstest/scripts/boulder_install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/letstest/scripts/boulder_install.sh b/tests/letstest/scripts/boulder_install.sh index 7e298783f..f997268bd 100755 --- a/tests/letstest/scripts/boulder_install.sh +++ b/tests/letstest/scripts/boulder_install.sh @@ -5,5 +5,6 @@ # Check out special branch until latest docker changes land in Boulder master. git clone -b docker-integration https://github.com/letsencrypt/boulder $BOULDERPATH cd $BOULDERPATH -sed -i 's/FAKE_DNS: .*/FAKE_DNS: 172.17.42.1/' docker-compose.yml +FAKE_DNS=$(ifconfig docker0 | grep "inet addr:" | cut -d: -f2 | awk '{ print $1}') +sed -i "s/FAKE_DNS: .*/FAKE_DNS: $FAKE_DNS/" docker-compose.yml docker-compose up -d |