Merge "fix zuul from scratch user and group creation"

This commit is contained in:
Zuul 2018-07-27 19:37:05 +00:00 committed by Gerrit Code Review
commit 8b85dfd519
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,8 @@ into the nodes that Nodepool provides.
.. code-block:: console
$ sudo adduser --system nodepool --home-dir /var/lib/nodepool --create-home
$ sudo groupadd --system nodepool
$ sudo useradd --system nodepool --home-dir /var/lib/nodepool --create-home -g nodepool
$ ssh-keygen -t rsa -b 2048 -f nodepool_rsa # don't enter a passphrase
$ sudo mkdir /etc/nodepool/
$ sudo mkdir /var/log/nodepool

View File

@ -12,7 +12,8 @@ during the Nodepool setup.
.. code-block:: console
$ sudo adduser --system zuul --home-dir /var/lib/zuul --create-home
$ sudo groupadd --system zuul
$ sudo useradd --system zuul --home-dir /var/lib/zuul --create-home -g zuul
$ sudo mkdir /etc/zuul/
$ sudo mkdir /var/log/zuul/
$ sudo chown zuul.zuul /var/log/zuul/