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"