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 =