mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-04 23:17:45 +01:00
Update hostcfg.sh
change reg.mydomain.com to reg.mydomain.org
This commit is contained in:
parent
f3ed963c75
commit
7fbdf4e018
@ -1,5 +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.com/$IP/" -i Deploy/harbor.cfg
|
||||
cat Deploy/harbor.cfg
|
||||
#echo $IP
|
||||
sudo sed "s/reg.mydomain.org/$IP/" -i Deploy/harbor.cfg
|
||||
|
Loading…
Reference in New Issue
Block a user