Re: [cobbler-devel] custom dhcp_restart_command

2015-04-06 Thread Nishanth Aravamudan
On 06.04.2015 [08:58:35 +0200], J?rgen Maas wrote: > Hi Nish, > > I agree and i'd be happy to take any patches to clean stuff up. Not yet tested, but this should work... diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 7a41ee2..8734151 100644 --- a/cobbler/action_sync.py +++ b/

Re: [cobbler-devel] custom dhcp_restart_command

2015-04-06 Thread Santosh Kumar Gupta
We are also using cobbler in a docker container, and we use supervisord for process management in CentOS 6.6. What we did is, we changed the Sys V init script of dhcpd service to use supervisorctl. *service dhcpd start *is an standard command and since your container is always customised to your sp

Re: [cobbler-devel] custom dhcp_restart_command

2015-04-06 Thread Jörgen Maas
Applied patch to master, thanks! ;-) On Mon, Apr 6, 2015 at 8:32 PM, Santosh Kumar Gupta wrote: > We are also using cobbler in a docker container, and we use supervisord > for process management in CentOS 6.6. What we did is, we changed the Sys V > init script of dhcpd service to use supervisorc