From 18ee3bcc1d5316f5d494136729a8e62e1a50a570 Mon Sep 17 00:00:00 2001 From: cjhardee <cjhardee@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd> Date: Sun, 5 Aug 2012 05:05:45 +0000 Subject: [PATCH] Hid the messages about updating the tables in certain circumstances, as it may be intentional git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 25d8d2630..801de5a02 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -1565,14 +1565,15 @@ sub copycd if ($ret[0] != 0) { $callback->({data => "Error when updating the osimage tables: " . $ret[1]}); } - my @ret=xCAT::SvrUtils->update_tables_with_diskless_image($distname, $arch, undef, "netboot",$path); - if ($ret[0] != 0) { - $callback->({data => "Error when updating the osimage tables for stateless: " . $ret[1]}); - } - my @ret=xCAT::SvrUtils->update_tables_with_diskless_image($distname, $arch, undef, "statelite",$path); - if ($ret[0] != 0) { - $callback->({data => "Error when updating the osimage tables for statelite: " . $ret[1]}); - } + #hiding the messages about this not being found, since it may be intentional + #my @ret=xCAT::SvrUtils->update_tables_with_diskless_image($distname, $arch, undef, "netboot",$path); + #if ($ret[0] != 0) { + #$callback->({data => "Error when updating the osimage tables for stateless: " . $ret[1]}); + #} + #my @ret=xCAT::SvrUtils->update_tables_with_diskless_image($distname, $arch, undef, "statelite",$path); + #if ($ret[0] != 0) { + #$callback->({data => "Error when updating the osimage tables for statelite: " . $ret[1]}); + #} } }