From 45ad17704f93fc3387da552c2929bcf305b288d8 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 11 Nov 2008 15:30:07 +0000 Subject: [PATCH] fix UNKNOWN in User template git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/SINV.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/perl-xCAT/xCAT/SINV.pm b/perl-xCAT/xCAT/SINV.pm index 23e64744d..76e3f19dd 100644 --- a/perl-xCAT/xCAT/SINV.pm +++ b/perl-xCAT/xCAT/SINV.pm @@ -835,6 +835,10 @@ sub compareoutput { # Host header next; } + if ($templateline =~ /UNKNOWN/) + { # skip UNKNOWN header + next; + } if ($skiphostline == 1) { $skiphostline = 0; @@ -1035,6 +1039,10 @@ sub diffoutput { # Host header next; } + if ($templateline =~ /UNKNOWN/) + { # skip UNKNOWN HEADER + next; + } if ($skiphostline == 1) { $skiphostline = 0;