project-config/nodepool/elements/zuul-worker
shangxdy fa1e7d4097 Fix ZUUL_USER_SSH_PUBLIC_KEY to support ssh key content
Currently ZUUL_USER_SSH_PUBLIC_KEY must be a key file, but
there is no change to create the key file, so it not convenient
for building a image with diskimage-builder, this patch makes
it possible to set ssh public key through ZUUL_USER_SSH_PUBLIC_KEY
in envirement(e.g. diskimage configuration in nodepool.yaml  ).

Change-Id: I83ef3d2e5ff5c3951ecf7036c46d0d8a68871e0c
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2018-04-23 23:24:04 +00:00
..
extra-data.d Fix ZUUL_USER_SSH_PUBLIC_KEY to support ssh key content 2018-04-23 23:24:04 +00:00
install.d Remove jenkins-slave element from DIB images 2018-03-05 14:29:26 +01:00
README.rst Don't use devuser for zuul-worker 2016-06-27 11:01:47 +10:00
element-deps Don't use devuser for zuul-worker 2016-06-27 11:01:47 +10:00
package-installs.yaml Add ansible dependencies to infra-package-needs 2017-09-14 12:30:25 -04:00
pkg-map Cleanup zuul-worker pkg-map 2017-09-22 14:32:50 -04:00

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.