Skip to content

Commit

Permalink
Merge pull request #46 from jouvin/sl5.x-iscsi
Browse files Browse the repository at this point in the history
Backport sl6.x fix for correct support of iscsi during boot
  • Loading branch information
jrha committed Jun 23, 2014
2 parents ef300f3 + 4aa5740 commit 2f8668c
Showing 1 changed file with 40 additions and 12 deletions.
52 changes: 40 additions & 12 deletions config/core/daemons.pan
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,47 @@

unique template config/core/daemons;

variable OS_WANTED_DEFAULT_DAEMONS ?= list (
"sshd",
);
variable OS_CORE_ISCSI_ENABLED ?= false;

variable OS_UNWANTED_DEFAULT_DAEMONS ?= list (
"yum", "yum-updatesd", "avahi-daemon",
"hplip", "pcscd", "gpm", "ipsec",
"bluetooth", "cups", "iscsi","iscsid",
"isdn","jexec", 'yum-cron','tog-pegasus',
"wpa_supplicant","pppoe-server","postfix",
"portreserve","haldaemon","NetworkManager",
"abrt","kdump","rhsmcertd", "stap-server",
);
variable OS_WANTED_DEFAULT_DAEMONS ?= {
append('sshd');
if ( ! OS_CORE_ONLY && OS_CORE_ISCSI_ENABLED ) {
append('iscsi');
};
SELF;
};

variable OS_UNWANTED_DEFAULT_DAEMONS ?= {
append('abrt');
append('avahi-daemon');
append('bluetooth');
append('cups');
append('hplip');
append('gpm');
append('haldaemon');
append('ipsec');
append('iscsid');
append('isdn');
append('jexec');
append('kdump');
append('NetworkManager');
append('pcscd');
append('postfix');
append('portreserve');
append('pppoe-server');
append('rhsmcertd');
append('stap-server');
append('tog-pegasus');
append('wpa_supplicant');
append('yum');
append('yum-cron');
append('yum-updatesd');
if ( OS_CORE_ONLY || ! OS_CORE_ISCSI_ENABLED ) {
append('iscsi');
append('iscsid');
};
SELF;
};

"/software/components/chkconfig/service/" = {
foreach(k;v;OS_WANTED_DEFAULT_DAEMONS) {
Expand Down

0 comments on commit 2f8668c

Please sign in to comment.