# Sample ' local.conf ' foruser-configurable variablesinch' stack.sh ' # note:copy ThisFile to the root Devstack directory forit to work properly.# ' local.conf ' isA user-maintained settings file that isSourced from' STACKRC '. # This gives it the ability toOverrideAny variablesSet inch"STACKRC". # Also, most of the settingsinch' Stack.sh ' is written to ISSet ifno# value has already beenSet; ThisLets ' local.conf ' effectivelyOverridethe#defaultvalues.# This isA collection of some of the settings we have found to be useful#inchOur devstack development environments. Additional Settings is described#inchhttp//devstack.org/local.conf.html# These should be considered assamples and is unsupported devstack code.# the ' LOCALRC ' section replaces the old ' LOCALRC ' configuration file.# Note thatif"' LOCALRC ' isPresent it'll be usedinchFavor of ThisSection . [[Local|LOCALRC]] # Minimal contents#----------------# while ' stack.sh ' isHappy to run without "LOCALRC", Devlife isbetter when# There is a few minimal variablesSet: # If the ' Service_token ' and '*_password ' variables is notSet# Here you'll be prompted to enter values forthem by ' stack.sh ' # and they'll be a added to ' local.conf '. Service_token=Azertytokenadmin_password=Nomoresecretemysql_password=Stackdbrabbit_password=Stackqueueservice_password=$ADMIN _password# ' host_ip ' and ' Host_ipv6 ' should beSetManually forBest resultsif# The NIC configuration of the host isUnusual, i.e. ' eth1 ' has thedefault# route but ' eth0 ' isThe Public Interface. They is auto-detectedinch# ' stack.sh ' but often isindeterminate on later runs due to the IP moving# fromAn EthernetInterfaceTo a bridge on the host. Setting it here also# makes it available for' OPENRC ' to include when setting ' Os_auth_url '. # neither is SetBydefault. #HOST_IP=W.x.y.z#host_ipv6=2001:d B8::7# logging#-------# bydefault' stack.sh ' output only goes to the terminalwhereit runs. It can# is configured to additionally log to a file by setting "LOGFILE" to the full# path of the destination log file. A timestamp'll is appended to the given name. LOGFILE= $DEST/logs/stack.sh.log# old log files is automatically removed after7Days to keep things neat. change# the number of days by setting ' Logdays '. Logdays=2# Nova Logs 'll be colorizedif' SYSLOG ' isNotSet; Turn Thisoff by setting# ' Log_color 'false. #LOG_COLOR=false# Using Milestone-proposed branches#---------------------------------# Uncomment these to grab the milestone-proposed Branches fromThe repos: #CINDER_BRANCH=milestone-Proposed#glance_branch=milestone-Proposed#horizon_branch=milestone-Proposed#keystone_branch=milestone-Proposed#keystoneclient_branch=milestone-Proposed#nova_branch=milestone-Proposed#novaclient_branch=milestone-Proposed#neutron_branch=milestone-Proposed#swift_branch=milestone-proposed# swift#-----# Swift isNow used asThe Back-end forThe S3-likeObjectStore. If Nova's# objectstore (' N-obj 'inch"Enabled_services") isenabled, it'll not# runifSwift isEnabled. Setting the hash value isRequired and you will# be prompted forItifSwift isEnabled so justSetit to something Already:swift_hash=66a3d6b56c1f479c8b4e70ab5c2000f5# for development purposes thedefaultOf3Replicas isusually not required.# Set ThisTo1To save some Resources:swift_replicas=1# The Data forSwift isStored bydefault inch(' $DEST/data/Swift '), # or (' $DATA _dir/swift ")if"Data_dir" has beenSet, and can be# moved by setting ' Swift_data_dir '. The directory would be created#ifit does not exist. Swift_data_dir= $DEST/data# tempest#-------# Install The Tempest test Suiteenable_service Tempest
# Sample ' local.conf ' foruser-configurable variablesinch' stack.sh ' # note:copy ThisFile to the root Devstack directory forit to work properly.# ' local.conf ' isA user-maintained settings file that isSourced from' STACKRC '. # This gives it the ability toOverrideAny variablesSet inch"STACKRC". # Also, most of the settingsinch' Stack.sh ' is written to ISSet ifno# value has already beenSet; ThisLets ' local.conf ' effectivelyOverridethe#defaultvalues.# This isA collection of some of the settings we have found to be useful#inchOur devstack development environments. Additional Settings is described#inchhttp//devstack.org/local.conf.html# These should be considered assamples and is unsupported devstack code.# the ' LOCALRC ' section replaces the old ' LOCALRC ' configuration file.# Note thatif"' LOCALRC ' isPresent it'll be usedinchFavor of ThisSection . [[Local|LOCALRC]] # Minimal contents#----------------# while ' stack.sh ' isHappy to run without "LOCALRC", Devlife isbetter when# There is a few minimal variablesSet: # If the ' Service_token ' and '*_password ' variables is notSet# Here you'll be prompted to enter values forthem by ' stack.sh ' # and they'll be a added to ' local.conf '. Admin_password=123456Mysql_password=$ADMIN _passwordrabbit_password=$ADMIN _passwordservice_password=$ADMIN _passwordservice_token=$ADMIN _password# ' host_ip ' and ' Host_ipv6 ' should beSetManually forBest resultsif# The NIC configuration of the host isUnusual, i.e. ' eth1 ' has thedefault# route but ' eth0 ' isThe Public Interface. They is auto-detectedinch# ' stack.sh ' but often isindeterminate on later runs due to the IP moving# fromAn EthernetInterfaceTo a bridge on the host. Setting it here also# makes it available for' OPENRC ' to include when setting ' Os_auth_url '. # neither is SetBydefault. Host_ip=192.168.98.110#HOST_IPV6=2001:d B8::7# logging#-------# bydefault' stack.sh ' output only goes to the terminalwhereit runs. It can# is configured to additionally log to a file by setting "LOGFILE" to the full# path of the destination log file. A timestamp'll is appended to the given name. LOGFILE= $DEST/logs/stack.sh.log# old log files is automatically removed after7Days to keep things neat. change# the number of days by setting ' Logdays '. Logdays=2# Nova Logs 'll be colorizedif' SYSLOG ' isNotSet; Turn Thisoff by setting# ' Log_color 'false. #LOG_COLOR=false# Using Milestone-proposed branches#---------------------------------# Uncomment these to grab the milestone-proposed Branches fromThe repos: #CINDER_BRANCH=milestone-Proposed#glance_branch=milestone-Proposed#horizon_branch=milestone-Proposed#keystone_branch=milestone-Proposed#keystoneclient_branch=milestone-Proposed#nova_branch=milestone-Proposed#novaclient_branch=milestone-Proposed#neutron_branch=milestone-Proposed#swift_branch=milestone-proposed# swift#-----# Swift isNow used asThe Back-end forThe S3-likeObjectStore. If Nova's# objectstore (' N-obj 'inch"Enabled_services") isenabled, it'll not# runifSwift isEnabled. Setting the hash value isRequired and you will# be prompted forItifSwift isEnabled so justSetit to something Already:swift_hash=66a3d6b56c1f479c8b4e70ab5c2000f5# for development purposes thedefaultOf3Replicas isusually not required.# Set ThisTo1To save some Resources:swift_replicas=1# The Data forSwift isStored bydefault inch(' $DEST/data/Swift '), # or (' $DATA _dir/swift ")if"Data_dir" has beenSet, and can be# moved by setting ' Swift_data_dir '. The directory would be created#ifit does not exist. Swift_data_dir= $DEST/data# tempest#-------# Install The Tempest test suiteenable_service tempest# Enable heatenable_service Heat H-api H-API-CFN H-API-CW Heng# Enable muranoenable_service Murano Murano-api Murano-engine
OpenStack local.conf