supprt genimage plugin for urbunto, debian and fedora12
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
78637396f3
commit
8762d8b7c1
@ -37,6 +37,7 @@ my $rootlimit;
|
||||
my $tmplimit;
|
||||
my $krpmver;
|
||||
my $kerneldir;
|
||||
my $mode;
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
@ -72,6 +73,7 @@ if (!GetOptions(
|
||||
't=s' => \$tmplimit,
|
||||
'k=s' => \$kernel,
|
||||
'g=s' => \$krpmver,
|
||||
'm=s' => \$mode,
|
||||
'permission=s' => \$permission,
|
||||
'kerneldir=s' => \$kerneldir,
|
||||
'h|help' => \$help,
|
||||
@ -362,6 +364,11 @@ if ($krpmver) {
|
||||
push @arg, "$krpmver";
|
||||
}
|
||||
|
||||
if ($mode) {
|
||||
push @arg, "-m";
|
||||
push @arg, "$mode";
|
||||
}
|
||||
|
||||
if ($kerneldir) {
|
||||
push @arg, "--kerneldir";
|
||||
push @arg, "$kerneldir";
|
||||
|
@ -4,9 +4,9 @@ B<genimage> - Generates a stateless image to be used for a diskless install.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
B<genimage> B<-o> I<OS> B<-p> I<profile> [B<-i> I<nodebootif>] [B<-n> I<nodenetdrivers>] [B<-l> I<rootlimit>] [B<-r> I<additional_nics>] [B<-k> I<kernel_version>] [B<-g> I<krpm_version>] [B<--permission> I<permission>]
|
||||
B<genimage> B<-o> I<OS> B<-p> I<profile> [B<-i> I<nodebootif>] [B<-n> I<nodenetdrivers>] [B<-l> I<rootlimit>] [B<-r> I<additional_nics>] [B<-k> I<kernel_version>] [B<-g> I<krpm_version>] [B<-m> statelite] [B<--permission> I<permission>]
|
||||
|
||||
B<genimage> [B<-o> I<OS>] [B<-l> I<rootlimit>] [B<-i> I<nodebootif>] [B<-n> I<nodenetdrivers>] [B<-r> I<additional_nics>] [B<-k> I<kernel_version>] [B<-g> I<krpm_version>] imagename
|
||||
B<genimage> [B<-o> I<OS>] [B<-l> I<rootlimit>] [B<-i> I<nodebootif>] [B<-n> I<nodenetdrivers>] [B<-r> I<additional_nics>] [B<-k> I<kernel_version>] [B<-g> I<krpm_version>] [B<-m> statelite] imagename
|
||||
|
||||
B<genimage> [B<-h> | B<--help> | B<-v> | B<--version>]
|
||||
|
||||
@ -92,6 +92,11 @@ in the install image.
|
||||
|
||||
This flag is for SLES only. Use this flag to specify the rpm version for kernel packages in the image. It must be present if -k flag is specified in the command for SLES.
|
||||
|
||||
=item B<-m> statelite
|
||||
|
||||
This flag is for Ubuntu, Debian and Fedora12 only. Use this flag to specify if you want to generate statelite image. The default is to generate stateless image for these three operating systems. For others, this flag is invalid because both stateless and statelite images will be generated with this command.
|
||||
|
||||
|
||||
=item B<-v|--version>
|
||||
|
||||
Display version.
|
||||
|
Loading…
Reference in New Issue
Block a user