* The compute manager constructs access urls, and so needs this info
Change-Id: Ifa5f515a071d5006f6fc5cc6103eff91eafdb2b7
| ... | ... |
@@ -1141,11 +1141,11 @@ add_nova_flag "--vlan_interface=$VLAN_INTERFACE" |
| 1141 | 1141 |
add_nova_flag "--sql_connection=$BASE_SQL_CONN/nova" |
| 1142 | 1142 |
add_nova_flag "--libvirt_type=$LIBVIRT_TYPE" |
| 1143 | 1143 |
add_nova_flag "--instance_name_template=${INSTANCE_NAME_PREFIX}%08x"
|
| 1144 |
-if [[ "$ENABLED_SERVICES" =~ "n-novnc" ]]; then |
|
| 1144 |
+# All nova-compute workers need to know the vnc configuration options |
|
| 1145 |
+# These settings don't hurt anything if n-xvnc and n-novnc are disabled |
|
| 1146 |
+if [[ "$ENABLED_SERVICES" =~ "n-cpu" ]]; then |
|
| 1145 | 1147 |
NOVNCPROXY_URL=${NOVNCPROXY_URL:-"http://$SERVICE_HOST:6080/vnc_auto.html"}
|
| 1146 | 1148 |
add_nova_flag "--novncproxy_base_url=$NOVNCPROXY_URL" |
| 1147 |
-fi |
|
| 1148 |
-if [[ "$ENABLED_SERVICES" =~ "n-xvnc" ]]; then |
|
| 1149 | 1149 |
XVPVNCPROXY_URL=${XVPVNCPROXY_URL:-"http://$SERVICE_HOST:6081/console"}
|
| 1150 | 1150 |
add_nova_flag "--xvpvncproxy_base_url=$XVPVNCPROXY_URL" |
| 1151 | 1151 |
fi |