File: nova-consoleproxy.config

package info (click to toggle)
nova 2%3A32.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,500 kB
  • sloc: python: 418,899; pascal: 1,848; sh: 991; makefile: 163; xml: 83
file content (19 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

if [ -r /etc/default/nova-consoleproxy ] ; then
	. /etc/default/nova-consoleproxy
fi

if [ "${NOVA_CONSOLE_PROXY_TYPE}" = "novnc" ] ; then
	db_set nova-consoleproxy/daemon_type novnc
else
	db_set nova-consoleproxy/daemon_type spicehtml5
fi
db_input medium nova-consoleproxy/daemon_type || true
db_go

exit 0