add 192.168.33.222 to the fake dns of boulder, typo fix in client provisioning

This commit is contained in:
Maarten de Waard 2016-08-12 10:30:57 +02:00
parent 01aec44d79
commit 207088f55f
2 changed files with 3 additions and 4 deletions

View File

@ -75,6 +75,7 @@ cat <<EOF >> /home/vagrant/.bashrc
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
source /lehaproxy_venv/bin/activate
EOF
# Allow haproxy to read the dirs of the le plugin

View File

@ -30,9 +30,6 @@ fi
if ! grep -Fxq "127.0.0.1 boulder boulder-rabbitmq boulder-mysql" /etc/hosts; then
echo '127.0.0.1 boulder boulder-rabbitmq boulder-mysql' >> /etc/hosts
fi
if ! grep -Fxq "192.168.33.222 testsite.nl" /etc/hosts; then
echo '192.168.33.222 testsite.nl' >> /etc/hosts
fi
cat <<EOF >> /root/.bashrc
alias ll='ls -lah'
@ -106,7 +103,7 @@ if ! grep -Fxq "export SOFTHSM_CONF=$PWD/test/softhsm.conf" ~/.variables; then
echo "export SOFTHSM_CONF=$PWD/test/softhsm.conf" >> ~/.variables
fi
# Change pkcs to softhsm and IP to 192.168.33.111 and set high thresholds for rate limeting
# Change pkcs to softhsm and IP to 192.168.33.111 and set high thresholds for rate limiting
if grep -Fq "/usr/local/lib/libpkcs11-proxy.so" test/test-ca.key-pkcs11.json; then
git apply /vagrant/greenhost.patch
fi
@ -140,6 +137,7 @@ Environment="GOPATH=/gopath"
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/gopath/bin:/usr/local/go/bin"
Environment="GO15VENDOREXPERIMENT=1"
Environment="SOFTHSM_CONF=/gopath/src/github.com/letsencrypt/boulder/test/softhsm.conf"
Environment="FAKE_DNS=192.168.33.222"
WorkingDirectory=/gopath/src/github.com/letsencrypt/boulder/
ExecStart=/boulder_venv/bin/python ./start.py
[Install]