From f617e8e54a4bae708c0293013a93129351f14c0a Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 20 Feb 2019 14:16:55 +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 --- dicos/99_one-frontend.xml | 15 --------------- tmpl/sunstone-server.conf | 4 ++++ 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/dicos/99_one-frontend.xml b/dicos/99_one-frontend.xml index 58b4da7..9a6efe7 100644 --- a/dicos/99_one-frontend.xml +++ b/dicos/99_one-frontend.xml @@ -32,7 +32,6 @@ port_sunstone vnc_proxy_port_sunstone - xmlrpc_port_sunstone ip_ssh_eth0 @@ -65,17 +64,9 @@ opennebula-sunstone-v4.0.png - - non - - - Configuration du l'application web OpenNebula Sunstone - @@ -98,17 +89,11 @@ non - - non - xmlrpc_port_sunstone - - non onefrontend port_sunstone vnc_proxy_port_sunstone - xmlrpc_port_sunstone ip_sunstone langue_sunstone sunstone_logo diff --git a/tmpl/sunstone-server.conf b/tmpl/sunstone-server.conf index fc7da0f..74f0f4d 100644 --- a/tmpl/sunstone-server.conf +++ b/tmpl/sunstone-server.conf @@ -24,7 +24,11 @@ # OpenNebula sever contact information # +%if %%one_ha_role == 'oui' +:one_xmlrpc: http://%%adresse_ip_eth0:2633/RPC2 +%else :one_xmlrpc: http://localhost:2633/RPC2 +%end if :one_xmlrpc_timeout: 60 # Server Configuration