[root@openstack-controller1~]#catopenstack-deploy-controller-node.sh#!/bin/bash#Author:QsyjSmy#Date:2022-01-24#QQ:582673967#定义变量HOST_IP=`ifconfig|grep172|awk'{print$2}'`FIREWALLD_STATUS=`systemctlis-enabledfirewalld.service`GETENFORCE_STATUS=`getenforce`#更改hosts文件functionsetup-hosts{echo"172.31.7.10