mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 12:46:03 +01:00
commit
d78850fd1f
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
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
|
||||||
sudo sed "s/reg.mydomain.org/$IP/" -i Deploy/harbor.cfg
|
sudo sed "s/reg.mydomain.com/$IP/" -i Deploy/harbor.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user