This file is indexed.

/etc/one/sunstone-server.conf is in opennebula-sunstone 4.12.3+dfsg-3.1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# -------------------------------------------------------------------------- #
# Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs        #
#                                                                            #
# Licensed under the Apache License, Version 2.0 (the "License"); you may    #
# not use this file except in compliance with the License. You may obtain    #
# a copy of the License at                                                   #
#                                                                            #
# http://www.apache.org/licenses/LICENSE-2.0                                 #
#                                                                            #
# Unless required by applicable law or agreed to in writing, software        #
# distributed under the License is distributed on an "AS IS" BASIS,          #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
# See the License for the specific language governing permissions and        #
# limitations under the License.                                             #
#--------------------------------------------------------------------------- #

################################################################################
# Server Configuration
################################################################################

# Directory to store temp files when uploading images
#
:tmpdir: /var/tmp

# OpenNebula sever contact information
#
:one_xmlrpc: http://localhost:2633/RPC2

# Server Configuration
#
:host: 127.0.0.1
:port: 9869

# Place where to store sessions, this value can be memory or memcache
# Use memcache when starting multiple server processes, for example,
# with passenger
#
# NOTE. memcache needs a separate memcached server to be configured. Refer
# to memcached documentation to configure the server.
:sessions: memory

# Memcache configuration
:memcache_host: localhost
:memcache_port: 11211
:memcache_namespace: opennebula.sunstone

################################################################################
# Log
################################################################################

# Log debug level
#   0 = ERROR, 1 = WARNING, 2 = INFO, 3 = DEBUG
#
:debug_level: 3

################################################################################
# Auth
################################################################################

# Authentication driver for incomming requests
#   sunstone, for OpenNebula's user-password scheme
#   x509, for x509 certificates based authentication
#   opennebula, the authentication will be done by the opennebula core using the
#   driver defined for the user
#
:auth: opennebula

# Authentication driver to communicate with OpenNebula core
#   cipher, for symmetric cipher encryption of tokens
#   x509, for x509 certificate encryption of tokens
#
:core_auth: cipher

# For LDAP auth. Encode credentials sent to OpenNebula. Turns espaces into %20.
# This only works with "opennebula" auth.
#
#:encode_user_password: true

################################################################################
# UI Settings
################################################################################
# :vnc_proxy_
#   port:           port where the vnc proxy will listen
#   support_wss:    no | yes | only. For yes and only, provide path to
#                   cert and key. "yes" means both ws and wss connections will be
#                   supported.
#   vnc_proxy_cert: Certificate to encrypt wss connections.
#   vnc_proxy_key:  Key for wss connections. Only necessary if not included in cert.
#   vnc_proxy_ipv6: Enable ipv6 support for novnc-server
:vnc_proxy_port: 29876
:vnc_proxy_support_wss: no
:vnc_proxy_cert:
:vnc_proxy_key:
:vnc_proxy_ipv6: false


# Default language setting
:lang: en_US

# Default table order
:table_order: desc

################################################################################
# Marketplace
################################################################################

# Marketplace username and password
# If no credentials are provided, an anonymous client will be used
#
#:marketplace_username:
#:marketplace_password:

# Marketplace endpoint
#
:marketplace_url: http://marketplace.opennebula.systems/appliance

################################################################################
# OneFlow
################################################################################

# OneFlow endpoint
#
:oneflow_server: http://localhost:2474/


################################################################################
# Default instance types for the cloud view
################################################################################
#
# These types are presented in the cloud view to customize VM Templates. Each
# type is defined by:
#   name: the name of the type
#   cpu: capacity allocated to the VM for scheduling purposes
#   vcpu: number of cores
#   memory: in MB for the VM
#   description: to help the user pick one, it may include purpose or price.
:instance_types:
    - :name: small-x1
      :cpu: 1
      :vcpu: 1
      :memory: 128
      :description: Very small instance for testing purposes
    - :name: small-x2
      :cpu: 2
      :vcpu: 2
      :memory: 512
      :description: Small instance for testing multi-core applications
    - :name: medium-x2
      :cpu: 2
      :vcpu: 2
      :memory: 1024
      :description: General purpose instance for low-load servers
    - :name: medium-x4
      :cpu: 4
      :vcpu: 4
      :memory: 2048
      :description: General purpose instance for medium-load servers
    - :name: large-x4
      :cpu: 4
      :vcpu: 4
      :memory: 4096
      :description: General purpose instance for servers
    - :name: large-x8
      :cpu: 8
      :vcpu: 8
      :memory: 8192
      :description: General purpose instance for high-load servers

################################################################################
# Routes
################################################################################

# Array of files containing ruby code to extend the default sunstone-server
#   routes. These files must be placed inside the custom_routes directory
#   in the sunstone root dir (/usr/lib/one/sunstone/routes)
#
# Example:
#   $ ls /usr/lib/one/sunstone/routes
#   custom.rb  other.rb
#
#   $ cat /usr/lib/one/sunstone/routes/example.rb
#   get '/custom' do
#       body "It works"
#   end
#
#:routes:
#    - custom
#    - other

:routes:
    - oneflow
    - vcenter
    - support