Skip to content

Instantly share code, notes, and snippets.

@krha
Last active October 16, 2022 01:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krha/2bc593679132f8cee0d2 to your computer and use it in GitHub Desktop.
Save krha/2bc593679132f8cee0d2 to your computer and use it in GitHub Desktop.
Minimal ``local.conf`` for single node devstack installation
# Minimal ``local.conf`` for single node devstack installation
# Please find the details at http://docs.openstack.org/developer/devstack/guides/single-machine.html#run-devstack
#
# The minial values to set up is
# 1) passwords for SERVICE_TOKEN, ADMIN_PASSWORD, MYSQL_PASSWORD, RABBIT_PASSWORD, and SERVICE_PASSWORD
# 2) FLAT_INTERFACE
# 3) PUBLIC_INTERFACE
#
# For details of each key, please read the comment on them.
[[local|localrc]]
SERVICE_TOKEN=your_random_servive_token_here
ADMIN_PASSWORD=your_password_here
MYSQL_PASSWORD=your_password_here
RABBIT_PASSWORD=your_password_here
SERVICE_PASSWORD=$ADMIN_PASSWORD
FIXED_RANGE=10.11.12.0/24
FIXED_NETWORK_SIZE=256
# Network interface for inter-VM communication. Be cautious because DHCP
# packets for VMs will flow to this interface. If you have only one NIC
# (network interface card), then create a virtual NIC following this
# (http://unix.stackexchange.com/questions/152331/how-can-i-create-a-virtual-ethernet-interface-on-a-machine-without-a-physical-ad)
# and assign it here.
FLAT_INTERFACE=eth1
# network interface connect to the public Internet
PUBLIC_INTERFACE=em1
# Logging
# -------
LOGFILE=$DEST/logs/stack.sh.log
LOGDAYS=2
# Swift
# -----
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment