fix infinite provision problem after use kit

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-03-06 10:31:40 +00:00
parent 8a1841c238
commit f688bd1efe

View File

@ -344,7 +344,7 @@ sub assign_to_osimage
if (open(FILE, ">", "$installdir/postscripts/KIT_$osimage.postbootscripts")) {
print FILE "#!/bin/sh\n\n";
close(FILE);
chmod(755,"$installdir/postscripts/KIT_$osimage.postbootscripts");
chmod(0755,"$installdir/postscripts/KIT_$osimage.postbootscripts");
}
}