the verbose value is changed to 0 by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8a532cabce
commit
baa81721b9
@ -20,7 +20,7 @@ Getopt::Long::Configure("pass_through");
|
||||
|
||||
my $cmdname = "liteimg";
|
||||
my $statedir = ".statelite";
|
||||
my $verbose = "1";
|
||||
my $verbose = "0";
|
||||
sub handled_commands {
|
||||
return {
|
||||
$cmdname => "statelite"
|
||||
@ -324,7 +324,7 @@ sub process_request {
|
||||
|
||||
# remove .statebackup
|
||||
$verbose && $callback->({info=>["remove .statebackup"]});
|
||||
xCAT::Utils->runcmd("rm -rf $rootimg_dir/.statelite/.statebackup", 0, 1);
|
||||
xCAT::Utils->runcmd("rm -rf $rootimg_dir/.statebackup", 0, 1);
|
||||
|
||||
# then store the @synclist to litefile.save
|
||||
#system("cp $rootimg_dir/.statelite/litefile.save $rootimg_dir/.statelite/litefile.save1");
|
||||
|
Loading…
x
Reference in New Issue
Block a user