Actions
Feature #5158
closedAdmin Init Script
Start date:
09/27/2013
Due date:
% Done:
0%
Estimated time:
Description
The problem:
official-SL-6x-x86_64 images have AllowGroups root
in sshd_config
.
In order to have the jenkins
user log into a fresh VM, user need to do special cooking in the Init Script option of the template:
cp -p /etc/ssh/sshd_config /etc/ssh/sshd_config.sav && sed -e "s/^AllowGroups/#AllowGroups/" /etc/ssh/sshd_config.sav > /etc/ssh/sshd_config && service sshd reload
The broader solution:
Since we can't initialize some template option on behalf of the user (like setting Init Script depending on the imageId), it would be nice to have some kind of Admin Init Script, maybe hidden from the UI, that enables commands to be executed during a slave instantiation depending on the imageId.
The actual script could be a configuration file with a Map/Dictionary form: imageId -> commands.
It should be common to all Jenkins instances.
- imageIds will be added manually by the farm admins to the "script" (deployment)
- users can upgrade the JClouds plugin, like any other plugin
Updated by Brétel Foudil about 11 years ago
- Target version changed from v0.3 to v0.5
Updated by Schwarz Lionel over 9 years ago
- Priority changed from Normal to Low
I set down this ticket to low as it is very old
Updated by ROUET Jean-René over 7 years ago
- Status changed from Assigned to Rejected
Actions