From 12622d0ca692d8ab5cbad5e6cc5b0b0bceb46d40 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 11 Sep 2012 05:47:53 +0000 Subject: [PATCH] fix for osimage.postscripts and osimage.postbootscripts are not run on compute nodes git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Postage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 02ad68d28..6617a736f 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -661,7 +661,7 @@ sub makescript # get postscripts for images my $osimgname = $provmethod; - if($osimgname =~ /install|netboot|statelite/){ + if($osimgname =~ /^install$|^netboot$|^statelite$/){ $osimgname = "$os-$arch-$provmethod-$profile"; } my $et2 =