mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-13 22:05:21 +01:00
038d7dd90c
* Updates for verfied tags deletion. * Remove old UI. * Move i18n folder. * Updates for latest UI codes. * make travis with latest dev code. * update test code * add cat log * cat nginx * cat nginx * fix template error * remove --with-notary * remove controller test * fix controller test bug * modify controller test * debug controller test * update controller test * update index title to harbor, discussed with Kun. * Update package.json * Merge latest UI changes. * remove git
7 lines
253 B
Bash
Executable File
7 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
IP=`ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'`
|
|
PROTOCOL='https'
|
|
|
|
#echo $IP
|
|
sudo sed "s/reg.mydomain.com/$IP/" -i make/harbor.cfg
|
|
sudo sed "s/^ui_url_protocol = .*/ui_url_protocol = $PROTOCOL/g" -i make/harbor.cfg |