摘要: [root@ansible ansible]# cat host_name.sh #!/bin/bashHOSTIP=`ip a s ens33 | awk -F "[ /]+" 'NR==3{print $3}'`NAMEIP=`grep "$HOSTIP" host_name | awk '{p 阅读全文
posted @ 2023-08-04 16:37 虞岩 阅读(440) 评论(0) 推荐(0) 编辑