mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	insserv with -f option to ignore the dependency on sles10.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1552,7 +1552,8 @@ sub generic_post { # This function is meant to leave the image in a state approx | ||||
|  | ||||
|     copy("$installroot/postscripts/xcatpostinit", "$rootimg_dir/etc/init.d/xcatpostinit"); | ||||
|     chmod(0755, "$rootimg_dir/etc/init.d/xcatpostinit"); | ||||
|     system("chroot $rootimg_dir insserv gettyset xcatpostinit"); | ||||
|     #insserv with -f option to ignore the dependency on sles10.4 | ||||
|     system("chroot $rootimg_dir insserv -f network sshd gettyset xcatpostinit"); | ||||
|  | ||||
|     my $rc = system("grep sshd $rootimg_dir/etc/init.d/.depend.start | grep TARGETS"); | ||||
|     if ($rc) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user