=head1 NAME B - Imports an xCAT image or configuration file into the xCAT tables so that you can immediately begin deploying with it. =head1 SYNOPSIS B B bundle_file_name [-p|--postscripts nodelist] [-f|--profile new_profile] [-v|--verbose]> =head1 DESCRIPTION The imgimport command will import an image that has been exported by I from xCAT. This is the easiest way to transfer/backup/, change or share images created by xCAT whether they be stateless or stateful. The bundle file will be unpacked in the current working directory. The xCAT configuration such as I and I tables will then be updated. For statefull, the following files will be copied to the appropriate directories. x.pkglist x.otherpkgs.pkglist x.tmpl x.synclist kits related files For stateless, the following files will be copied to the appropriate directories. kernel initrd.gz rootimg.gz x.pkglist x.otherpkgs.pkglist x.synclist x.postinstall x.exlist kits related files For statelite, the following files will be copied to the appropriate directories. kernel initrd.gz root image tree x.pkglist x.synclist x.otherpkgs.pkglist x.postinstall x.exlist where x is the profile name. Any extra files, included by --extra flag in the imgexport command, will also be copied to the appropriate directories. For statelite, the litefile table will be updated for the image. The litetree and statelite tables are not imported. If -p flag is specified, the I table will be updated with the postscripts and the postbootscripts names from the image for the nodes given by this flag. If -f flag is not specified, all the files will be copied to the same directories as the source. If it is specified, the old profile name x will be changed to the new and the files will be copied to the appropriate directores for the new profiles. For example, I will be copied to I and I will be copied to I. This flag is commonly used when you want to copy the image on the same xCAT mn so you can make modification on the new one. After this command, you can run the I command and then start deploying the nodes. You can also choose to modify the files and run the following commands before the node depolyment. For statefull: nodeset For stateless: genimage packimage nodeset For statelite genimage liteimg nodeset =head1 OPTIONS B<-f|--profile> I Import the image with a new profile name. B<-h|--help> Display usage message. B<-p|--postscripts> I Import the postscripts. The postscripts contained in the image will be set in the postscripts table for I. B<-v|--verbose> Verbose output. =head1 RETURN VALUE 0 The command completed successfully. 1 An error has occurred. =head1 EXAMPLES 1. Simplest way to import an image. If there is a bundle file named 'foo.gz', then run: I 2. Import the image with postscript names. I The I table will be updated with the name of the I and the I for node1 and node2. 3. Import the image with a new profile name I =head1 FILES /opt/xcat/bin/imgimport =head1 SEE ALSO L