Create /opt/stack and make it home directory

single-machine.rst and index.rst

Before this, one had to create /opt/stack
manually and chown it to the stack user.
Now it is created when the user is created.

This is the same way the multi-node guide
handles it. A stack group is created too.

Change-Id: I5363d81c8fb38796f565cc6ebf6ab2dee2673989
Closes-Bug: #1673787
Closes-Bug: #1671409
This commit is contained in:
David Rabel
2017-03-17 14:47:18 +01:00
parent dab52d7554
commit fca0da5069
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ below)
:: ::
adduser stack useradd -s /bin/bash -d /opt/stack -m stack
Since this user will be making many changes to your system, it will need Since this user will be making many changes to your system, it will need
to have sudo privileges: to have sudo privileges:

View File

@@ -56,7 +56,7 @@ You can quickly create a separate `stack` user to run DevStack with
:: ::
$ sudo adduser stack $ sudo useradd -s /bin/bash -d /opt/stack -m stack
Since this user will be making many changes to your system, it should Since this user will be making many changes to your system, it should
have sudo privileges: have sudo privileges: