@@ -45,31 +45,37 @@ We need to add a user to install DevStack. (if you created a user during
4545install you can skip this step and just give the user sudo privileges
4646below)
4747
48- ::
48+ .. code-block :: console
4949
50- useradd -s /bin/bash -d /opt/stack -m stack
50+ $ sudo useradd -s /bin/bash -d /opt/stack -m stack
5151
5252 Since this user will be making many changes to your system, it will need
5353to have sudo privileges:
5454
55- ::
55+ .. code-block :: console
5656
57- apt-get install sudo -y || yum install -y sudo
58- echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
57+ $ apt-get install sudo -y || yum install -y sudo
58+ $ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
59+
60+ .. note :: On some systems you may need to use ``sudo visudo``.
5961
6062From here on you should use the user you created. **Logout ** and
61- **login ** as that user.
63+ **login ** as that user:
64+
65+ .. code-block :: console
66+
67+ $ sudo su stack && cd ~
6268
6369 Download DevStack
6470-----------------
6571
6672We'll grab the latest version of DevStack via https:
6773
68- ::
74+ .. code-block :: console
6975
70- sudo apt-get install git -y || sudo yum install -y git
71- git clone https://git.openstack.org/openstack-dev/devstack
72- cd devstack
76+ $ sudo apt-get install git -y || sudo yum install -y git
77+ $ git clone https://git.openstack.org/openstack-dev/devstack
78+ $ cd devstack
7379
7480 Run DevStack
7581------------
@@ -97,7 +103,7 @@ do the following:
97103
98104``local.conf `` should look something like this:
99105
100- ::
106+ .. code-block :: ini
101107
102108 [[local|localrc]]
103109 FLOATING_RANGE =192.168.1.224/27
@@ -109,11 +115,14 @@ do the following:
109115 RABBIT_PASSWORD =flopsymopsy
110116 SERVICE_PASSWORD =iheartksl
111117
118+ .. note :: There is a sample :download:`local.conf </assets/local.conf>` file
119+ under the *samples * directory in the devstack repository.
120+
112121Run DevStack:
113122
114- ::
123+ .. code-block :: console
115124
116- ./stack.sh
125+ $ ./stack.sh
117126
118127 A seemingly endless stream of activity ensues. When complete you will
119128see a summary of ``stack.sh ``'s work, including the relevant URLs,
0 commit comments