diff --git a/xCAT-client/pods/man1/genimage.1.pod b/xCAT-client/pods/man1/genimage.1.pod index b98608616..e3a3ab03f 100644 --- a/xCAT-client/pods/man1/genimage.1.pod +++ b/xCAT-client/pods/man1/genimage.1.pod @@ -6,9 +6,9 @@ B - Generates a stateless image to be used for a diskless install. B -B B<-o> I [B<-a> I] B<-p> I B<-i> I B<-n> I [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<-t> I] [B<--permission> I] [B<--interactive>] +B B<-o> I [B<-a> I] B<-p> I B<-i> I B<-n> I [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] -B [B<-o> I] [B<-a> I] [B<-p> I] [B<-i> I] [B<-n> I] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<-t> I] [B<--permission> I] [B<--interactive>] I +B [B<-o> I] [B<-a> I] [B<-p> I] [B<-i> I] [B<-n> I] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] I B [B<-h> | B<--help> | B<-v> | B<--version>] @@ -129,6 +129,10 @@ This flag is for Ubuntu, Debian and Fedora12 only. Use this flag to specify if y This flag allows the user to answer questions from yum/zypper command when installing rpms into the image. If it is not specified, '-y' will be passed to the yum command and '--non-interactive --no-gpg-checks' will be passed to the zypper command as default answers. +=item B<-t> I + +(Deprecated) This flag allows the user to setup the /tmp and the /var/tmp file system sizes. This flag is no longer supported. You can overwrite any file system size using the .postinstall script where you can create a new /etc/fstab file. + =item B<-v|--version> diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 809622034..e56b1a155 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -1305,7 +1305,6 @@ END } } - #copy conf files needed by nfs mount in sles11.2 if($osver_host == 11) { @@ -1313,6 +1312,7 @@ END system("cp -r $rootimg_dir/etc/netconfig /tmp/xcatinitrd.$$/etc/"); } + # Copy udev libraries system("mkdir -p /tmp/xcatinitrd.$$/etc/udev"); system("mkdir -p /tmp/xcatinitrd.$$/lib/firmware"); @@ -1324,18 +1324,18 @@ END system("cp -r $rootimg_dir/usr/bin/killall /tmp/xcatinitrd.$$/usr/bin"); # Copy rules for network adapter -# my $name = `cat /etc/sysconfig/network/ifcfg-$prinic | grep NAME`; -# my $nic = ''; -# if ($name =~ m/(\d+\.\d+\.\d+)/g) { -# $nic = $&; -# } + #my $name = `cat /etc/sysconfig/network/ifcfg-$prinic | grep NAME`; + #my $nic = ''; + #if ($name =~ m/(\d+\.\d+\.\d+)/g) { + # $nic = $&; + #} # Somehow checking for *$nic.rules does not work #if ( -f "/etc/udev/rules.d/*$nic.rules" ) { -# system("cp -r /etc/udev/rules.d/*$nic.rules /tmp/xcatinitrd.$$/etc/udev/rules.d"); + # system("cp -r /etc/udev/rules.d/*$nic.rules /tmp/xcatinitrd.$$/etc/udev/rules.d"); #} #if ( -f "/etc/udev/rules.d/*persistent-net.rules" ) { -# system("cp -r /etc/udev/rules.d/*persistent-net.rules /tmp/xcatinitrd.$$/etc/udev/rules.d"); + # system("cp -r /etc/udev/rules.d/*persistent-net.rules /tmp/xcatinitrd.$$/etc/udev/rules.d"); #} system("mkdir -p /tmp/xcatinitrd.$$/lib/udev"); @@ -1669,7 +1669,7 @@ sub load_dd() } sub usage { - print 'Usage: genimage -o [-a ] -p -i -n [-r ] [-k ] [-g ] [-l rootlimitsize] [-t tmplimitsize] [--permission ] [--interactive]'."\n"; + print 'Usage: genimage -o [-a ] -p -i -n [-r ] [-k ] [-g ] [-l rootlimitsize] [--permission ] [--interactive]'."\n"; print " --permission is used for statelite only\n"; print "Examples:\n"; print " genimage -i eth0 -n tg3 -o sles11 -p compute\n";