From 6422cfbe2c330fb239b454e7a738ffde8a5be0f1 Mon Sep 17 00:00:00 2001 From: Aidaho Date: Wed, 29 Mar 2023 21:10:47 +0300 Subject: [PATCH] v6.3.8.0 Changelog: https://roxy-wi.org/changelog#6_3_8 --- app/modules/service/installation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/service/installation.py b/app/modules/service/installation.py index 59d8716a..af616b73 100644 --- a/app/modules/service/installation.py +++ b/app/modules/service/installation.py @@ -371,7 +371,7 @@ def keepalived_masteradd(): os.system(f"cp scripts/{script} .") commands = [ - f"chmod +x {script} && ./{script} PROXY={proxy_serv} SSH_PORT={ssh_settings['port']} ETH={eth} SLAVE_ETH={slave_eth} " + f"chmod +x {script} && ./{script} PROXY={proxy_serv} SSH_PORT={ssh_settings['port']} ETH={eth} ETH_SLAVE={slave_eth} " f"keepalived_path_logs={keepalived_path_logs} RETURN_TO_MASTER={return_to_master} IP={vrrp_ip} MASTER=MASTER " f"RESTART={kp} ADD_VRRP=1 HOST={master} router_id={router_id} USER={ssh_settings['user']} " f"PASS='{ssh_settings['password']}' KEY={ssh_settings['key']}" @@ -402,7 +402,7 @@ def keepalived_slaveadd(): os.system(f"cp scripts/{script} .") commands = [ - f"chmod +x {script} && ./{script} PROXY={proxy_serv} SSH_PORT={ssh_settings['port']} ETH={eth} SLAVE_ETH={slave_eth} " + f"chmod +x {script} && ./{script} PROXY={proxy_serv} SSH_PORT={ssh_settings['port']} ETH={eth} ETH_SLAVE={slave_eth} " f"keepalived_path_logs={keepalived_path_logs} IP={vrrp_ip} MASTER=BACKUP RESTART={kp} ADD_VRRP=1 HOST={slave} " f"router_id={router_id} USER={ssh_settings['user']} PASS='{ssh_settings['password']}' KEY={ssh_settings['key']}" ]