user_add job from os-conf/8
Github source:
7003569
or
master branch
Properties¶
users
¶
Array of user hashes. Each user should specify a name
attribute, and one of
either crypted_password
or public_key
. Users will not be deleted if
they are removed from this list after a successful update. All of the
authorized keys for the users will be overwritten with the public key you
specify.
- Example
-
users: - name: user1 public_key: ssh-rsa AAAA ... - crypted_password: $6$saltysalt$eF06vmEKaMhOr8jcnyfJJGuaU/Khq3DpH4M/7T.ziGNjhEEv3o9tgaX5VciMGAbgfE0CH9XrcpHi9kgmVv1Z2. name: user2
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/user_add/
directory
(learn more).
bin/pre-start
(frompre-start.sh.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.
This job relies on no runtime packages.