From 890eb4b0eb8f676e4e09a1a8be292373db1059bc Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 10 Sep 2010 15:43:39 +0000 Subject: [PATCH] more clarification on -p flag for imgimport and imgexport git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/imgexport.1.pod | 18 +++++++++--------- xCAT-client/pods/man1/imgimport.1.pod | 6 ++++-- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/xCAT-client/pods/man1/imgexport.1.pod b/xCAT-client/pods/man1/imgexport.1.pod index a7ef501b2..537dbcc0e 100644 --- a/xCAT-client/pods/man1/imgexport.1.pod +++ b/xCAT-client/pods/man1/imgexport.1.pod @@ -40,22 +40,22 @@ For statelite: where x is the name of the profile. -Any files specified by the -e flag will also be exported. If -p flag is specified, the postscripts and the postbootscripts for the given node will be exported. +Any files specified by the -e flag will also be exported. If -p flag is specified, the names of the postscripts and the postbootscripts for the given node will be exported. The postscripts themsleves need to be manualy exported using -e flag. =head1 OPTIONS B<-e|--extra> I Pack up extra files. If I is omitted, the destination directory will be the same as the source directory. -B<-h|--help> Display usage message. +B<-h|--help> Display usage message. -B<-p|--postscripts> I Get the postscripts for the given node and pack it into the image. +B<-p|--postscripts> I Get the names of the postscripts and postbootscripts for the given node and pack them into the image. -B<-v|--verbose> Verbose output. +B<-v|--verbose> Verbose output. -I The name of the image. Use I osimage to find out all the image names. +I The name of the image. Use I osimage to find out all the image names. -I The output bundle file name. +I The output bundle file name. =head1 RETURN VALUE @@ -78,11 +78,11 @@ B and the whole directory I into the file called foo.tgz. And when imgimport is called I will be copied into the same directory and I will be copied to I. -3. To include postscripts with your image: +3. To include postscript with your image: -B +B -The I and the I specified in the I table for node1 will be exported into the image. +The I and the I names specified in the I table for node1 will be exported into the image. The postscript I will also be exported. =head1 FILES diff --git a/xCAT-client/pods/man1/imgimport.1.pod b/xCAT-client/pods/man1/imgimport.1.pod index f1f696409..b05e6fe78 100644 --- a/xCAT-client/pods/man1/imgimport.1.pod +++ b/xCAT-client/pods/man1/imgimport.1.pod @@ -40,7 +40,7 @@ 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. -If -p flag is specified, the I table will be updated with the postscripts and the postbootscripts from the image for the nodes given by this flag. +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. @@ -85,10 +85,12 @@ B<-v|--verbose> Verbose output. I -2. Import the image with postscripts +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