From 6dbd5c88d5aff39f6f4162108f78afb5f7af0704 Mon Sep 17 00:00:00 2001 From: bybai Date: Wed, 30 Nov 2016 06:38:29 -0500 Subject: [PATCH] fix 2231 Failed to generate osimage definiton for sles11.4-x86_64-statelite-compute after copycds --- xCAT-server/lib/xcat/plugins/sles.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 0d14e4080..d564f74eb 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -2215,6 +2215,10 @@ sub copycd 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,$osdistroname); + if ($ret[0] != 0) { + $callback->({data => "Error when updating the osimage tables for statelite: " . $ret[1]}); + } } }