From 7fbdf4e01800bed6d7065f58b9d35d2f663b3b90 Mon Sep 17 00:00:00 2001 From: yhua123 Date: Wed, 15 Jun 2016 12:57:04 +0800 Subject: [PATCH] Update hostcfg.sh change reg.mydomain.com to reg.mydomain.org --- tests/hostcfg.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/hostcfg.sh b/tests/hostcfg.sh index 6decb7eea..daf8bbdc7 100755 --- a/tests/hostcfg.sh +++ b/tests/hostcfg.sh @@ -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