Have esx.pm put the kernel command line argument on 'b.b00' in tmpl case. It's still not the recommended approarch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c047d8b5cb
commit
2e6ccdb68d
@ -4314,9 +4314,8 @@ sub merge_esxi5_append {
|
||||
open($out,">",$outfile);
|
||||
my $line;
|
||||
while ($line = <$in>) {
|
||||
if ($line =~ /kernelopt=/) {
|
||||
chomp($line);
|
||||
$line .= $append."\n";
|
||||
if ($line =~ /modules=b.b00/) {
|
||||
$line =~ s/modules=b.b00/modules=b.b00 $append/;
|
||||
}
|
||||
print $out $line;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user