From cfca4e5d64f732efd683d59a7eb68286bb95377c Mon Sep 17 00:00:00 2001 From: zhangzhihan Date: Sat, 28 Mar 2020 12:59:59 +0800 Subject: 改进双臂部署部分内容 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/tfe/templates/tfe-env-config.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/tfe') diff --git a/roles/tfe/templates/tfe-env-config.j2 b/roles/tfe/templates/tfe-env-config.j2 index aa4a656..e00dff2 100644 --- a/roles/tfe/templates/tfe-env-config.j2 +++ b/roles/tfe/templates/tfe-env-config.j2 @@ -6,6 +6,6 @@ TFE_LOCAL_IP_DATA_INCOMING=172.16.241.2 TFE_PEER_IP_DATA_INCOMING=172.16.241.1 {% if run_as_tun_mode %} -TFE_WATCHDOG_DEVICE=lo -TFE_WATCHDOG_IP=127.0.0.1 -{% endif %} \ No newline at end of file +TFE_WATCHDOG_DEVICE={{ nic_inner_ctrl.name }} +TFE_WATCHDOG_IP=192.168.100.1 +{% endif %} -- cgit v1.2.3