xcat-core/xCAT-client/pods/man1/packimage.1.pod
lissav 8bf5cd26ed fix packimage man page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-12 18:23:31 +00:00

68 lines
1.7 KiB
Plaintext

=head1 NAME
B<packimage> - Packs the stateless image from the chroot file system.
=head1 SYNOPSIS
I<packimage [-h| --help]>
I<packimage [-v| --version]>
I<packimage [-o OS] [ -p profile] [-a architecture] [-m method]>
=head1 DESCRIPTION
Packs the stateless image from the chroot file system into a file system to be
sent to the node for a diskless install.
The install dir is setup by using "installdir" attribute set in the site table.
The nodetype table "profile" attribute for the node should reflect the profile of the install image.
This uses the package information from the /opt/xcat/share/xcat/netboot/[os] directory files for the profile input. However, you can customize the information and store it under /install/custom/netboot/[os] directory. The customized information will be used if any.
=head1 OPTIONS
B<-h> Display usage message.
B<-v> Command Version.
B<-o> Operating system (fedora8, rhel5, sles10,etc)
B<-p> Profile (compute,service)
B<-a> Architecture (ppc64,x86_64,etc)
B<-m> Method (default cpio)
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
=head1 EXAMPLES
1. To pack a fedora8 image for a compute node architecture x86_64 and place it in the /install/netboot/fedora8/x86_64/compute/rootimg.gz file enter:
I<packimage -o fedora8 -p compute -a x86_64>
This would use the package information from the /install/custom/netboot/fedora/compute* files first. If not found it uses /opt/xcat/share/xcat/netboot/fedora/compute* files.
=head1 FILES
/opt/xcat/sbin/packimage
=head1 NOTES
This command is part of the xCAT software product.
=head1 SEE ALSO
L<genimage(1)|genimage.1>