diff --git a/perl-xCAT/xCAT/Usage.pm b/perl-xCAT/xCAT/Usage.pm index 90549db13..78a8fd35d 100644 --- a/perl-xCAT/xCAT/Usage.pm +++ b/perl-xCAT/xCAT/Usage.pm @@ -119,7 +119,8 @@ my %usage = ( lsvm [-a|--all]", "chvm" => "Usage: chvm [-p profile][-V|--verbose] - chvm [-h|--help|-v|--version]", + chvm [-h|--help|-v|--version] + chvm = [=...]", "rmvm" => "Usage: rmvm [-V|--verbose] rmvm [-h|--help|-v|--version]", diff --git a/xCAT-client/pods/man1/chvm.1.pod b/xCAT-client/pods/man1/chvm.1.pod index 8a0cb0523..721d6eb16 100644 --- a/xCAT-client/pods/man1/chvm.1.pod +++ b/xCAT-client/pods/man1/chvm.1.pod @@ -12,9 +12,13 @@ I I +I + + =head1 DESCRIPTION -The chvm command modifies the partition profile for the partitions specified in noderange. A partitions current profile can be read using lsvm, modified, and piped into the chvm command, or changed with the -p flag. +The chvm command modifies the partition profile for the partitions specified in noderange. A partitions current profile can be read using lsvm, modified, and piped into the chvm command, or changed with the -p flag. +This command also supports to change specific partition attributes by specifying one or more "attribute equals value" pairs in command line directly, without whole partition profile. =head1 OPTIONS @@ -23,6 +27,8 @@ B<-h> Display usage message. B<-p profile> Name of an existing partition profile. +B Specifies one or more "attribute equals value" pairs, separated by spaces. + B<-v> Command Version. B<-V> Verbose output. @@ -52,6 +58,12 @@ Output is similar to: lpar4: Success +3. To change partition attributes for lpar4 by specifying attribute value pairs in command line, enter: +I + +Output is similar to: + +lpar4: Success =head1 FILES