Skip to content

Commit

Permalink
Add example config snippet for authenticating to OpenNebula.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed Nov 28, 2019
1 parent 9d32009 commit 20ecf44
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions examples/opennebula-auth.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Example: how to configure ElastiCluster to use an OpenNebula cloud
#
# This example only covers authentication information; you need to complement it
# with `setup`, `login`, and `cluster` sections.
#
# For more details about ElastiCluster's configuration, see:
# http://elasticluster.readthedocs.io/en/latest/configure.html
#

[cloud/one]
provider=opennebula

# comment this out to use the value of the ONE_URL env variable
endpoint=http://localhost:2633/RPC2

# env vars `ONE_USERNAME` and `ONE_PASSWORD` can be used instead of
# hard-coded values here; if both `username=` and the env variable
# `ONE_USERNAME` are unset, then credentials are read from the value
# pointed to by the environmental variable `ONE_AUTH` or -if that is
# unset too-, file `~/.one/one_auth`
username=me
password=secret

0 comments on commit 20ecf44

Please sign in to comment.