From fca0da5069f0c90ddcd38d489cb81597d569953a Mon Sep 17 00:00:00 2001 From: David Rabel Date: Fri, 17 Mar 2017 14:47:18 +0100 Subject: [PATCH] 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 --- doc/source/guides/single-machine.rst | 2 +- doc/source/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/guides/single-machine.rst b/doc/source/guides/single-machine.rst index 011c41fbce..48a4fa8b12 100644 --- a/doc/source/guides/single-machine.rst +++ b/doc/source/guides/single-machine.rst @@ -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 to have sudo privileges: diff --git a/doc/source/index.rst b/doc/source/index.rst index edd6595da2..f8d500813e 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -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 have sudo privileges: