mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	-Change module filename checks to be less permissive
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -2263,7 +2263,7 @@ sub cpNetbootImages { | ||||
|             use File::Basename; | ||||
|             foreach (glob "$overridedir/*") { | ||||
|                 my $mod = scalar fileparse($_); | ||||
|                 if ($mod !~ /mboot.c32/ and $mod !~ /boot.cfg/ and $mod !~ /pkgdb.tgz/) { | ||||
|                 if ($mod =~ /gz\z/ and $mod !~ /pkgdb.tgz/) { | ||||
|                     $modulestoadd->{$mod}=1; | ||||
|                 } | ||||
|                 copy($_,"$destDir/$mod") or sendmsg([1,"Could not copy netboot contents from $overridedir to $destDir"]); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user