This commit is contained in:
simonzhangsz committed 2023-10-19 18:21:06 +08:00
1 parent a142657684
commit c06f011298
1 file changed
+3
+3
View File
@@ -6,6 +6,9 @@ toollist="zip unzip"
#分发到各个节点,这里分发到nehosts文件中的主机中.
while read line
do
if [[ "$line" =~ ^[^[:space:]]*# ]]; then
continue
fi
user=`echo $line | cut -d " " -f 2`
ip=`echo $line | cut -d " " -f 1`
passwd=`echo $line | cut -d " " -f 3`