added post boot scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
21cf066bd4
commit
df6a9049d9
@ -645,8 +645,23 @@ sub makescript
|
||||
}
|
||||
}
|
||||
|
||||
# get postbootscripts for image
|
||||
my $ips = $et2->{'postbootscripts'};
|
||||
if ($ips)
|
||||
{
|
||||
foreach my $n (split(/,/, $ips))
|
||||
{
|
||||
if (!exists($postboot_hash{$n}))
|
||||
{
|
||||
$postboot_hash{$n} = 1;
|
||||
push @scriptd, $n . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# get postscripts
|
||||
my $ps = $et1->{'postbootscripts'};
|
||||
$ps = $et1->{'postbootscripts'};
|
||||
if ($ps)
|
||||
{
|
||||
foreach my $n (split(/,/, $ps))
|
||||
|
Loading…
Reference in New Issue
Block a user