xingnengjiankongIP=""

cat>/opt/python/config.ini<<EOF
[toSer]
broker=$xingnengjiankongIP:5672
address=amq.topic
toSer_port=8765
[agent]
broker=$xingnengjiankongIP:5672
address=amq.topic
[resetpassword]
resetpass_port=8766
[openstack]
admin_pass=huaYuNchinacCOM1qw2
EOF

cat>/opt/xingneng/config.ini<<EOF
[info]
time=6
[rec_mes]
broker=$xingnengjiankongIP:5672
address=xingneng
[send_mes]
broker=$xingnengjiankongIP:5672
address=xingneng
host=$xingnengjiankongIP
port=3306
user=root
passwd=huaYuNchinacCOM1qw2
db_name=chinac_kvmrrd
time=600
[monitor]
broker=$xingnengjiankongIP:5672
address=hello-world
time=60
[insert]
broker=$xingnengjiankongIP:5672
address=hello-world
host=$xingnengjiankongIP
port=3306
user=root
passwd=huaYuNchinacCOM1qw2
db_name=chinac_kvmrrd
EOF

