Commit 1116e45d authored by Wen Wei Li's avatar Wen Wei Li

debug for add cp hostname in hosts file

parent 2690faa1
...@@ -223,7 +223,7 @@ copy_host_file(){ ...@@ -223,7 +223,7 @@ copy_host_file(){
if [[ -z $1 ]]; then if [[ -z $1 ]]; then
exit exit
else else
cat $1 > /etc/hosts cat $1 | tee -a /etc/hosts
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment