Merge pull request #550 from reasonerjt/master

fix build issue
This commit is contained in:
Daniel Jiang 2016-07-14 21:44:39 +08:00 committed by GitHub
commit d78850fd1f

View File

@ -1,4 +1,4 @@
#!/bin/bash
IP=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'`
#echo $IP
sudo sed "s/reg.mydomain.org/$IP/" -i Deploy/harbor.cfg
sudo sed "s/reg.mydomain.com/$IP/" -i Deploy/harbor.cfg