Using sudo in the Quick start section

Adding sudo to the example commands in the quick start section.

Also adding '-' as su argument in order to use
the stack user's env (home).

Change-Id: I23ab38104d05c3f4c8d48b55e66cf19dc4e4f90d
This commit is contained in:
Attila Fazekas 2017-02-13 15:09:35 +01:00
parent e0a37cf21e
commit 9ef346f59d

View File

@ -56,15 +56,15 @@ You can quickly create a separate `stack` user to run DevStack with
::
$ adduser stack
$ sudo adduser stack
Since this user will be making many changes to your system, it should
have sudo privileges:
::
$ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
$ su stack
$ sudo tee <<<"stack ALL=(ALL) NOPASSWD: ALL" /etc/sudoers
$ sudo su - stack
Download DevStack
-----------------