remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4854e5ca69
commit
4b8ed14152
@ -28,6 +28,7 @@ my $pathtofiles=dirname($0);
|
||||
my $fullpath=realpath($pathtofiles);
|
||||
my $name = basename($0);
|
||||
my $onlyinitrd=0;
|
||||
#that this method of calling genimage is no longer used
|
||||
if ($name =~ /geninitrd/) {
|
||||
$onlyinitrd=1;
|
||||
}
|
||||
@ -77,7 +78,8 @@ GetOptions(
|
||||
'r=s' => \$othernics,
|
||||
'l=s' => \$rootlimit,
|
||||
't=s' => \$tmplimit,
|
||||
'k=s' => \$kernelver
|
||||
'k=s' => \$kernelver,
|
||||
'onlyinitrd' =>\$onlyinitrd,
|
||||
);
|
||||
if (@ARGV > 0) {
|
||||
$imagename=$ARGV[0];
|
||||
|
Loading…
Reference in New Issue
Block a user