Skip to content

Commit

Permalink
add env-sample file
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb938 committed Oct 10, 2017
1 parent 465d00d commit 00cf38a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .env-sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copy this to .env
DATABASE_HOST=127.0.0.1
DATABASE_USERNAME=sandwich
DATABASE_PASSWORD=hunter2

RABBITMQ_HOST=127.0.0.1
RABBITMQ_USERNAME=sandwich
RABBITMQ_PASSWORD=hunter2

# Enter vcenter host and creds
VCENTER_HOST=
VCENTER_PORT=443
VCENTER_USERNAME=
VCENTER_PASSWORD=
VCENTER_CLUSTER=
VCENTER_DATASTORE=

# Enter IP of ISC DHCP Server
DHCP_SERVER_IP=
4 changes: 2 additions & 2 deletions deli_worker/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
VCENTER_IMAGES_FOLDER = 'images'
VCENTER_INSTANCES_FOLDER = 'instances'

VCENTER_CLUSTER = 'Management'
VCENTER_DATASTORE = 'datastore2'
VCENTER_CLUSTER = os.environ['VCENTER_CLUSTER']
VCENTER_DATASTORE = os.environ['VCENTER_DATASTORE']

####################
# DHCP #
Expand Down

0 comments on commit 00cf38a

Please sign in to comment.