From ab1bebce1004afd417f0ef886e9e74ab28c0266c Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 20 Feb 2019 15:20:59 +0100 Subject: [PATCH] =?UTF-8?q?en=20HA=20RPC=20doit=20=C3=AAtre=20accessible?= =?UTF-8?q?=20sur=20eth0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmpl/oned.conf | 2 +- tmpl/sched.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tmpl/oned.conf b/tmpl/oned.conf index c75861b..e66ce4c 100644 --- a/tmpl/oned.conf +++ b/tmpl/oned.conf @@ -78,7 +78,7 @@ SCRIPTS_REMOTE_DIR=/var/tmp/one PORT = 2633 -%if %%one_ha_role == 'oui' +%if %%enable_one_ha == 'oui' LISTEN_ADDRESS = %%adresse_ip_eth0 %else LISTEN_ADDRESS = "127.0.0.1" diff --git a/tmpl/sched.conf b/tmpl/sched.conf index 202ad8e..184b663 100644 --- a/tmpl/sched.conf +++ b/tmpl/sched.conf @@ -75,7 +75,7 @@ MESSAGE_SIZE = 1073741824 TIMEOUT = 60 -%if %%one_ha_role == 'oui' +%if %%enable_one_ha == 'oui' ONE_XMLRPC = "http://%%adresse_ip_eth0:2633/RPC2" %else ONE_XMLRPC = "http://localhost:2633/RPC2"