From fd39b51ce1ce3ab1bad8d3fd975044ae37206f23 Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 21 Dec 2012 08:30:39 +0000 Subject: [PATCH] fixed bug 3263, we require that the first value of osimage.pkgdir should be the os based pkgdir. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/sles.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 0d32237ea..de10f9477 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -823,6 +823,13 @@ sub mkinstall ); next; } + + + #To support multiple paths for osimage.pkgdir. We require the first value of osimage.pkgdir + # should be the os base pkgdir. + my @srcdirs = split(",", $pkgdir); + $pkgdir = $srcdirs[0]; + #Call the Template class to do substitution to produce a kickstart file in the autoinst dir my $tmperr;