diff --git a/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm index 2efdccfc7..27d3c6264 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm @@ -402,8 +402,11 @@ sub processArgs # make the default type = 'node' if not specified push(@::clobjtypes, 'node'); my $rsp; - $rsp->{data}->[0] = "Assuming an object type of \'node\'.\n"; - xCAT::MsgUtils->message("I", $rsp, $::callback); + if ( !$::opt_z && !$::opt_x) { + # don't want this msg in stanza or xml output + $rsp->{data}->[0] = "Assuming an object type of \'node\'.\n"; + xCAT::MsgUtils->message("I", $rsp, $::callback); + } } # if user specifies "-t" & "-h" they want valid type or attrs info