ec333103e1
Not all distros - like openSUSE - create a separate group for each user. Be explicit when creating zuul user like in nodepool/elements/jenkins-slave/install.d/20-jenkins-slave. Code later assumes that user and group are both named zuul, so we need to set the specific zuul group. Also, set /bin/bash as root shell following a similar change for jenkins done in Ic671b7c5344a1e7980bede88bee730b50764e60b to keep these two invocations in sync. Change-Id: Iec8de3c0799aa023ace8f172f84bf8a137d0967b |
||
---|---|---|
.. | ||
extra-data.d | ||
install.d | ||
element-deps | ||
package-installs.yaml | ||
pkg-map | ||
README.rst |
zuul-worker
Setup a node to be a zuul worker
User Creation
This element bakes in a zuul
user on the host for the
zuul-worker process to log in with.
By default login permissions (authorized_keys
) will be
populated for the zuul
user from
~/.ssh/id_rsa.pub
-- i.e. the public key of the currently
building user. Specify an alternative filename in
ZUUL_USER_SSH_PUBLIC_KEY
to override this.
The zuul
user is provided with passwordless
sudo
access.