Commit 2d6dc5f9 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

deploy: Configure cyclades for remote VNC proxy

Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 8c3cdc6e
......@@ -78,10 +78,17 @@ UI_SYSTEM_IMAGES_OWNERS = {
CYCLADES_BASE_URL = 'https://%CYCLADES%/cyclades'
CYCLADES_VNCAUTHPROXY_OPTS = {
CYCLADES_VNCAUTHPROXY_OPTS = [
{
'auth_user': '%SYNNEFO_USER%',
'auth_password': '%SYNNEFO_VNC_PASSWD%',
}
'server_address': '%VNC%',
'server_port': 24999,
'enable_ssl': True,
'ca_cert': '/etc/ssl/certs/synnefo_ca.pem',
'strict': True,
}
]
CYCLADES_STATS_SECRET_KEY = "%STATS_SECRET%"
......
......@@ -1533,6 +1533,7 @@ snf-manage network-create --subnet6={0} \
"CYCLADES_NODE_IP": self.ctx.cyclades.ip,
"CYCLADES_SECRET": config.cyclades_secret,
"SHARED_GANETI_DIR": config.ganeti_dir,
"VNC": self.ctx.vnc.cname,
}
return [
("/etc/synnefo/cyclades.conf", r1, {}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment