mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 19:56:09 +01:00
Fix: install.sh failure if $host env is setted (#7203)
Fix sed replace cmd Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
8d3946a0e2
commit
e538a4c448
@ -160,7 +160,7 @@ echo ""
|
||||
h2 "[Step $item]: preparing environment ..."; let item+=1
|
||||
if [ -n "$host" ]
|
||||
then
|
||||
sed "s/^hostname: .*/hostname = $host/g" -i ./harbor.yml
|
||||
sed "s/^hostname: .*/hostname: $host/g" -i ./harbor.yml
|
||||
fi
|
||||
prepare_para=
|
||||
if [ $with_notary ]
|
||||
|
Loading…
Reference in New Issue
Block a user