mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
Update hostcfg.sh
review Deploy/harbor.cfg
This commit is contained in:
parent
7ae8d54f72
commit
ca16841c51
@ -2,3 +2,4 @@
|
|||||||
IP=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'`
|
IP=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'`
|
||||||
#echo $IP
|
#echo $IP
|
||||||
sed "s/reg.mydomain.com/$IP/" -i Deploy/harbor.cfg
|
sed "s/reg.mydomain.com/$IP/" -i Deploy/harbor.cfg
|
||||||
|
cat Deploy/harbor.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user