NAME


B<packimage> - Builds the stateless image from the chroot file system.

=head1 SYNOPSIS

I<packimage [-h| --help]>

packimage [-v| --version]

packimage [-o OS] [ -p profile] [-a architecture] [-m method]


DESCRIPTION

Builds the stateless image from the chroot file system. 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.


OPTIONS

-h Display usage message.

-v Command Version.

-o Operating system (redora8, rhel5, sles10,etc)

-p Profile (compute,service)

-a Architecture (ppc64,x86_64,etc)

-m Method (default cpio)


RETURN VALUE

0 The command completed successfully.

1 An error has occurred.


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 directory enter:

packimage -o fedora8 -p compute -a x86_64

This would use the package information from the /opt/xcat/share/xcat/netboot/fedora/compute* files.


FILES


/opt/xcat/sbin/packimage


NOTES

This command is part of the xCAT software product.