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