mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	defect 2988145: just display verbose info when -V specified
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -741,7 +741,7 @@ sub updatenode | ||||
|         # Sync files to the target nodes | ||||
|         foreach my $synclist (keys %syncfile_node) | ||||
|         { | ||||
|             if (defined($::VERBOSE)) | ||||
|             if ($::VERBOSE) | ||||
|             { | ||||
|                 my $rsp = {}; | ||||
|                 $rsp->{data}->[0] = | ||||
| @@ -822,7 +822,7 @@ sub updatenode | ||||
| 		    "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -e $installdir/postscripts/xcatdsklspost 2 -m $snkey otherpkgs 2>&1"; | ||||
| 		} | ||||
|  | ||||
| 		if (defined($::VERBOSE)) | ||||
| 		if ($::VERBOSE) | ||||
| 		{ | ||||
| 		    my $rsp = {}; | ||||
| 		    $rsp->{data}->[0] = "  $localhostname: Internal call command: $cmd"; | ||||
| @@ -898,7 +898,7 @@ $AIXnodes_nd, $subreq  ) != 0 ) { | ||||
|             arg     => ['-r'], | ||||
|             }, $subreq, 0, 1); | ||||
|  | ||||
|         if (defined($::VERBOSE)) | ||||
|         if ($::VERBOSE) | ||||
|         { | ||||
|             my $rsp = {}; | ||||
|             $rsp->{data}->[0] = | ||||
| @@ -915,7 +915,7 @@ $AIXnodes_nd, $subreq  ) != 0 ) { | ||||
|             env     => \@envs, | ||||
|             }, $subreq, 0, 1); | ||||
|              | ||||
|         if (defined($::VERBOSE)) | ||||
|         if ($::VERBOSE) | ||||
|         { | ||||
|             my $rsp = {}; | ||||
|             $rsp->{data}->[0] = | ||||
| @@ -997,7 +997,7 @@ $AIXnodes_nd, $subreq  ) != 0 ) { | ||||
| 		} | ||||
| 		 | ||||
|  | ||||
| 		if (defined($::VERBOSE)) | ||||
| 		if ($::VERBOSE) | ||||
| 		{ | ||||
| 		    my $rsp = {}; | ||||
| 		    $rsp->{data}->[0] = "  $localhostname: Internal call command: $cmd"; | ||||
| @@ -1073,7 +1073,7 @@ $AIXnodes_nd, $subreq  ) != 0 ) { | ||||
| 		    $cmd = "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -e $installdir/postscripts/xcataixpost -m $snkey -c $mode $postscripts 2>&1"; | ||||
| 		} | ||||
| 		 | ||||
|             	if (defined($::VERBOSE)) | ||||
|             	if ($::VERBOSE) | ||||
|             	{ | ||||
| 		    my $rsp = {}; | ||||
| 		    $rsp->{data}->[0] = "  $localhostname: Internal call command: $cmd"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user