Actually to flesh out osimage table, but don't complain when it fails

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-08-06 20:47:21 +00:00
parent 958074c53a
commit 4cc18fab26

View File

@ -1571,11 +1571,11 @@ sub copycd
$callback->({data => "Error when updating the osimage tables: " . $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);
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);
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]});
#}