~devstack-core/devstack/github

« back to all changes in this revision

Viewing changes to samples/local.sh

  • Committer: Dean Troyer
  • Date: 2015-03-28 19:35:12 UTC
  • mto: This revision was merged to the branch mainline in revision 3086.
  • Revision ID: git-v1:dc97cb71e85fc807d2cce6f054c785922d322eb9
Mostly docs cleanups

Fix documentation build errors and RST formatting

Change-Id: Id93153400c5b069dd9d772381558c7085f64c207

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Sample ``local.sh`` for user-configurable tasks to run automatically
4
4
# at the successful conclusion of ``stack.sh``.
5
5
 
6
 
# NOTE: Copy this file to the root ``devstack`` directory for it to
7
 
# work properly.
 
6
# NOTE: Copy this file to the root DevStack directory for it to work properly.
8
7
 
9
8
# This is a collection of some of the things we have found to be useful to run
10
9
# after ``stack.sh`` to tweak the OpenStack configuration that DevStack produces.
11
10
# These should be considered as samples and are unsupported DevStack code.
12
11
 
13
12
 
14
 
# Keep track of the devstack directory
 
13
# Keep track of the DevStack directory
15
14
TOP_DIR=$(cd $(dirname "$0") && pwd)
16
15
 
17
16
# Import common functions
50
49
    source $TOP_DIR/openrc admin admin
51
50
 
52
51
    # Name of new flavor
53
 
    # set in ``localrc`` with ``DEFAULT_INSTANCE_TYPE=m1.micro``
 
52
    # set in ``local.conf`` with ``DEFAULT_INSTANCE_TYPE=m1.micro``
54
53
    MI_NAME=m1.micro
55
54
 
56
55
    # Create micro flavor if not present