File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9898
9999 [vnc]
100100 enabled = true
101- novncproxy_base_url = http://127.0.0.1:6082/vnc_auto.html
102101 server_listen = 0.0.0.0
103102 server_proxyclient_address = $my_ip
104- novncproxy_host = 0.0.0.0
105- novncproxy_port = 6082
103+ novncproxy_base_url = http://127.0.0.1:6080/vnc_lite.html
106104
107105 [cells]
108106 enable = False
Original file line number Diff line number Diff line change 5555
5656 [vnc]
5757 enabled = true
58- novncproxy_base_url = http://127.0.0.1:6082/vnc_auto.html
59- server_listen = 0.0.0.0
58+ server_listen = $my_ip
6059 server_proxyclient_address = $my_ip
61- novncproxy_host = 0.0.0.0
62- novncproxy_port = 6082
6360
6461 [glance]
6562 api_servers = http://controller:9292
Original file line number Diff line number Diff line change 8888 the configuration of the dashboard.
8989 '' ;
9090 } ;
91+ vncProxyHostPort = mkOption {
92+ default = 6080 ;
93+ type = types . port ;
94+ description = ''
95+ Host port to make the vnc console feature available for the
96+ OpenStack dashboard. Changing the value might requires to change
97+ the configuration of the dashboard.
98+ '' ;
99+ } ;
91100 } ;
92101 config = mkIf cfg . enable {
93102 virtualisation . forwardPorts = [
101110 host . port = cfg . serialProxyHostPort ;
102111 guest . port = 6083 ;
103112 }
113+ {
114+ from = "host" ;
115+ host . port = cfg . vncProxyHostPort ;
116+ guest . port = 6080 ;
117+ }
104118 ] ;
105119 } ;
106120 } ;
You can’t perform that action at this time.
0 commit comments