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:
immarvin 2012-11-20 07:17:54 +00:00
parent 4854e5ca69
commit 4b8ed14152

View File

@ -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];