From 9fb1b27a0a43d7254c56b213222b56bf1a8e352d Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Wed, 28 Nov 2012 08:34:38 +0000 Subject: [PATCH] Fixing a problem that postbootscript cannot be written if there are multiple kit components git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kit.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/kit.pm b/xCAT-server/lib/xcat/plugins/kit.pm index d1d9bb76d..06948d809 100644 --- a/xCAT-server/lib/xcat/plugins/kit.pm +++ b/xCAT-server/lib/xcat/plugins/kit.pm @@ -338,6 +338,8 @@ sub assign_to_osimage if ( $match ) { next; + } elsif ( !$added ) { + push @newscripts, $formatedkitcomp; } my $osimagescripts = join ',', @newscripts;