From 45fd73f8e3b51c1d04ed8e1186214ba0ebe4c5e1 Mon Sep 17 00:00:00 2001 From: yangsong Date: Thu, 13 Jul 2017 04:00:58 -0500 Subject: [PATCH] fix xCAT should better support the service group (servicenode postscript) to avoid errors when using Hierarchy #3150 (#3442) --- xCAT-server/lib/perl/xCAT/SvrUtils.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/SvrUtils.pm b/xCAT-server/lib/perl/xCAT/SvrUtils.pm index 41350d242..01b9a06f3 100755 --- a/xCAT-server/lib/perl/xCAT/SvrUtils.pm +++ b/xCAT-server/lib/perl/xCAT/SvrUtils.pm @@ -742,6 +742,13 @@ sub update_tables_with_templates osarch => $arch, synclists => $synclistfile, osdistroname => $osdistroname); + + #for service node osimage, add service node to the postscripts attributes + if($profile eq "service"){ + $tb_cols{postscripts}="servicenode"; + } + + if ($args{description}) { $tb_cols{description} = $args{description}; }