How to configure Nova vnc proxy automatically with juju

asked 2014-10-17 09:15:48 -0500

Lawrence gravatar image

updated 2014-10-20 10:54:25 -0500

smaffulli gravatar image

I have multiple instance of nova-compute and currently have to manually edit nova.config on each to get vnc to work. ( See https://bugs.launchpad.net/charms/+bu... )

novncproxy_base_url = "http://10.10.5.4:6080/vnc_auto.html"
vnc_enabled = true
vncserver_listen = "0.0.0.0"
vncserver_proxyclient_address="10.10.5.13"

vncserver_proxyclient_address is unique to each host.

Is it possible to use a variable to set this for each host ip so juju does not overwrite the config. A few posts allude to this but I can't figure out how.

edit retag flag offensive close merge delete

Comments

Hello,

Has anyone found a solution for this? What IP should I use for multiple hosts?

Thanks, Chris

brotherchris gravatar imagebrotherchris ( 2015-09-17 09:46:44 -0500 )edit