sayalilunkad f277b4c585 Uses openssl to generate random token
This patch remove the hard-coded value for
the ADMIN_TOKEN and generates the token dynamically
using openssl as per the install-guides.

Change-Id: I7010bac7724dadb6cf1a34481048d77fbcb8604b
2014-11-30 16:09:17 +01:00

47 lines
1.5 KiB
Bash

# This file contains user names, passwords, and tokens that are set and used
# by OpenStack applications and related software running in the VMs.
# Note that the VM shell user and its password are not set here. By default,
# those are hard-coded in the preseed/kickstart files or in the Vagrant base
# box. The scripts get the shell user name from deploy.{osbash,vagrant} and
# don't need a password (they use password-less sudo and -- if configured --
# ssh keys).
# Used for MySQL or whatever other DBMS is configured
: ${DATABASE_PASSWORD:=secrete}
# Used for MySQL or whatever other DBMS is configured
: ${RABBIT_PASSWORD:=rabbitPass}
# Tenant and role for admin accounts
: ${ADMIN_ROLE_NAME:=admin}
: ${ADMIN_TENANT_NAME:=admin}
# Member role for generic use
: ${MEMBER_ROLE_NAME:=_member_}
# User name and password for administrator
: ${ADMIN_USER_NAME:=admin}
: ${ADMIN_PASSWORD:=admin_pass}
# Tenant name, user name and password for normal (demo) user
: ${DEMO_TENANT_NAME:=demo}
: ${DEMO_USER_NAME:=demo}
: ${DEMO_PASSWORD:=demo_pass}
# OpenStack Services needs to be affiliated with a tenant to provide
# authentication to other OpenStack services. We create a "service" tenant for
# the OpenStack services. All the OpenStack services will be registered via
# service tenant.
# Tenant and role for service accounts.
: ${SERVICE_TENANT_NAME:=service}
# Domain to use for email addresses (e.g. admin@example.com)
: ${MAIL_DOMAIN:=example.com}
# Metadata secret used by neutron and nova.
: ${METADATA_SECRET:=osbash_training}
# vim: set ai ts=4 sw=4 et ft=sh: