Merge pull request #873 from progrium/870-mh-bind-ip-on-domains-change

support pre deployment usage of domains plugin. fixes interface binding issue
This commit is contained in:
Jose Diaz-Gonzalez
2015-01-06 16:14:02 -05:00
6 changed files with 36 additions and 16 deletions

View File

@@ -17,7 +17,7 @@ ifdef ENABLE_DOKKU_TRACE
echo "export DOKKU_TRACE=1" >> /home/dokku/dokkurc
endif
@echo "Setting dokku.me in /etc/hosts"
sudo /bin/bash -c "[[ `ping -c1 dokku.me > /dev/null 2>&1; echo $$?` -eq 0 ]] || echo \"127.0.0.1 dokku.me *.dokku.me\" >> /etc/hosts"
sudo /bin/bash -c "[[ `ping -c1 dokku.me > /dev/null 2>&1; echo $$?` -eq 0 ]] || echo \"127.0.0.1 dokku.me *.dokku.me www.test.app.dokku.me\" >> /etc/hosts"
@echo "-----> Generating keypair..."
mkdir -p /root/.ssh