更新设备管理部署剧本

This commit is contained in:
zhangzhihan
2020-05-08 18:19:47 +08:00
parent 9a593538d3
commit e801af6ae3
41 changed files with 2143250 additions and 60 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
BIND_ADDRESS=$(ifconfig ens1.200 | grep inet | head -1 |awk '{print $2}')
systemctl set-environment CONSUL_BIND_ADDRESS=${BIND_ADDRESS}

View File

@@ -0,0 +1,3 @@
PATH=/opt/consul-internal/bin:${PATH}
export PATH