This commit is contained in:
Shengliang Guan 2021-01-21 15:15:33 +08:00
parent 02867fb037
commit 052e42f9a5
1 changed files with 3 additions and 0 deletions

View File

@ -35,3 +35,6 @@ rm -rf $SIM_DIR/dnode3
rm -rf $SIM_DIR/tsim
tar zxf $SCRIPT_DIR/general/connection/sim.tar.gz -C $SIM_DIR/../
cd $SIM_DIR/../sim
fqdn=`hostname`
grep '${fqdn}' -l -r ./* | xargs sed -i 's/${fqdn}/${fqdn}/g'