From 884b1fdac9e7e271c88a75229d1fa16d29dec8e6 Mon Sep 17 00:00:00 2001 From: ertaozh Date: Sat, 14 Feb 2015 22:07:40 -0500 Subject: [PATCH] fix bug 4434 :mkvm vm --full could not add all the resource to vm --- perl-xCAT/xCAT/FSPvm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/FSPvm.pm b/perl-xCAT/xCAT/FSPvm.pm index 28eaea952..3eb86ea01 100644 --- a/perl-xCAT/xCAT/FSPvm.pm +++ b/perl-xCAT/xCAT/FSPvm.pm @@ -1738,7 +1738,7 @@ sub parse_part_get_info { $hash->{process_units_avail} = $2; } elsif ($line =~ /Authority Lpar id:(\w+)/i) { $hash->{service_lparid} = $1; - } elsif ($line =~ /(\d+),(\d+),[^,]*,(\w+),\w*\(([\w| |-|_]*)\)/) { + } elsif ($line =~ /(\d+),(\d+),[^,]*,(\w+),\w*\(([\w| |-|_|\/]*)\)/) { $hash->{bus}->{$3}->{cur_lparid} = $1; $hash->{bus}->{$3}->{bus_slot} = $2; $hash->{bus}->{$3}->{des} = $4; @@ -2001,7 +2001,7 @@ sub query_cec_info { last; } #push @result, [@td[3], $rethash, 0]; - push @result, @$rethash; + #push @result, @$rethash; } } if ($args->{updatedb} and %lpar_hash) {