- We would like to know how to change the default user account name in CJE installer that is used for provisioning the machine.
- CloudBees Jenkins Enterprise - AWS/OpenStack/Anywhere
If your CJE is not initialised
It is possible to set the ssh_user at cluster-init point, you have to add ssh_user option to the [tiger] section of the file. You have to add the user manually to the workers/controllers, CJE does not create the user, so you have to customize the OVA/AMI.
[tiger] ... ssh_user = USER_TO_USE_FOR_SSH ...
If Your CJE is already initialised
You have to edit the .dna/project.config the file then you have to change the ssh_user on your overall configuration, workers, and controllers, then you have to make a
cje upgrade --config-only --force to upgrade the configuration, after that you will use the new user to connect to the worker/controllers. You have to add the user manually to the workers/controllers, CJE does not create the user, so you have to customize the OVA/AMI.