diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index d5da28506..002852aac 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -207,6 +207,16 @@ sub processArgs return 2; } } + if ( scalar(@{$::args}) eq 1 and $::args->[0] eq '-S') + { + if ($::command eq "lsdef") { + push @ARGV, "-t"; + push @ARGV, "node"; + push @ARGV, "-s"; + } else { + return 2; + } + } if ($::command eq "lsdef") { if (scalar(@ARGV) == 1 && $ARGV[0] eq "-l") {