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;