mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
Merge pull request #5670 from cxhong/5655
Get group name from lsdef command
This commit is contained in:
commit
8fb1fc8dbe
@ -45,7 +45,7 @@ use xCAT::Utils;
|
||||
# Main
|
||||
my $rc = 0;
|
||||
&parse_args;
|
||||
my $cmd = "lsdef -t group";
|
||||
my $cmd = "lsdef -t group | awk '{print \$1}'";
|
||||
my @grpoutput = xCAT::Utils->runcmd($cmd, 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{ # error
|
||||
|
Loading…
x
Reference in New Issue
Block a user