From 8ea54a435f4f935b0150ddf903033961b935b4da Mon Sep 17 00:00:00 2001 From: immarvin Date: Sat, 6 Jul 2013 13:41:38 +0000 Subject: [PATCH] update node provision status based on the feedback of nodes instead of rpower/rnetboot for ubuntu git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 49d8c0827..69764b121 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -3328,7 +3328,7 @@ sub filter_nostatusupdate{ #filter out the nodes which support the node provision status feedback my @nodesfiltered=(); if(exists $inref->{$::STATUS_INSTALLING}){ - map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_INSTALLING}}; + map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles|ubuntu)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_INSTALLING}}; delete $inref->{$::STATUS_INSTALLING}; if(@nodesfiltered){ @{$inref->{$::STATUS_INSTALLING}}=@nodesfiltered; @@ -3337,7 +3337,7 @@ sub filter_nostatusupdate{ @nodesfiltered=(); if(exists $inref->{$::STATUS_NETBOOTING}){ - map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_NETBOOTING}}; + map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles|ubuntu)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_NETBOOTING}}; delete $inref->{$::STATUS_NETBOOTING}; if(@nodesfiltered){ @{$inref->{$::STATUS_NETBOOTING}}=@nodesfiltered;