Setting the opennebula params from the env

This commit is contained in:
M.Ravi 2017-04-26 10:27:15 +05:30
parent 43350869e0
commit c938ce738d

View file

@ -481,23 +481,23 @@ GUARDIAN_GET_INIT_ANONYMOUS_USER = 'membership.models.get_anonymous_user_instanc
#############################################
# The oneadmin user name of the OpenNebula infrastructure
OPENNEBULA_USERNAME = 'oneadmin'
OPENNEBULA_USERNAME = env('OPENNEBULA_USER')
# The oneadmin password of the OpenNebula infrastructure
# The default credentials of the Sandbox OpenNebula VM is
# oneadmin:opennebula
OPENNEBULA_PASSWORD = 'opennebula'
OPENNEBULA_PASSWORD = env('OPENNEBULA_PASSWORD')
# The protocol is generally http or https
OPENNEBULA_PROTOCOL = 'http'
OPENNEBULA_PROTOCOL = env('OPENNEBULA_PROTOCOL')
# The ip address or the domain name of the opennebula infrastructure
OPENNEBULA_DOMAIN = '192.168.182.124'
OPENNEBULA_DOMAIN = env('OPENNEBULA_DOMAIN')
# The port to connect in order to send an xmlrpc request. The default
# port is 2633
OPENNEBULA_PORT = '2633'
OPENNEBULA_PORT = env('OPENNEBULA_PORT')
# The endpoint to which the XML RPC request needs to be sent to. The
# default value is /RPC2
OPENNEBULA_ENDPOINT = '/RPC2'
OPENNEBULA_ENDPOINT = env('OPENNEBULA_ENDPOINT')