更新 scripts/keepalived.sh
This commit is contained in:
parent
6cf96af110
commit
58a361d6e6
|
|
@ -141,7 +141,8 @@ vrrp_instance VI_1 {
|
|||
EOF
|
||||
|
||||
# 启动服务
|
||||
systemctl enable --now keepalived
|
||||
systemctl enable keepalived
|
||||
systemctl start keepalived
|
||||
if systemctl is-active --quiet keepalived; then
|
||||
echo "===== keepalived安装完成 ====="
|
||||
echo "VIP:$VIP"
|
||||
|
|
|
|||
Loading…
Reference in New Issue