diff --git a/xCAT-server/share/xcat/cons/kvm b/xCAT-server/share/xcat/cons/kvm index ae435a5aa..da90b01b8 100755 --- a/xCAT-server/share/xcat/cons/kvm +++ b/xCAT-server/share/xcat/cons/kvm @@ -51,9 +51,9 @@ import File::Basename; my $scriptname = $0; my $cmdref={ - command=>"getcons", - arg=>"text", - noderange=>$ARGV[0] + command=>["getcons"], + arg=>["text"], + noderange=>[$ARGV[0]] }; use Data::Dumper; my $dsthost;