diff --git a/dicos/99_one-frontend.xml b/dicos/99_one-frontend.xml
index c9947e3..00d1163 100644
--- a/dicos/99_one-frontend.xml
+++ b/dicos/99_one-frontend.xml
@@ -4,8 +4,8 @@
opennebula-sunstone
- 9000
- 29876
+ port_sunstone
+ vnc_proxy_port_sunstone
ip_ssh_eth0
@@ -19,6 +19,9 @@
9000
+
+ 29876
+
fr_FR
diff --git a/tmpl/sunstone-server.conf b/tmpl/sunstone-server.conf
index 3c1d078..d3022bc 100644
--- a/tmpl/sunstone-server.conf
+++ b/tmpl/sunstone-server.conf
@@ -89,10 +89,10 @@
# vnc_proxy_cert: Certificate to encrypt wss connections.
# vnc_proxy_key: Key for wss connections. Only necessary if not included in cert.
# vnc_proxy_ipv6: Enable ipv6 support for novnc-server
-:vnc_proxy_port: 29876
+:vnc_proxy_port: %%vnc_proxy_port_sunstone
:vnc_proxy_support_wss: no
-:vnc_proxy_cert:
-:vnc_proxy_key:
+:vnc_proxy_cert: %%server_cert
+:vnc_proxy_key: %%server_key
:vnc_proxy_ipv6: false