mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-26 08:55:24 +00:00 
			
		
		
		
	fix the issue that rootimg/sys was not umounted by genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -160,6 +160,8 @@ sub process_request { | ||||
|  | ||||
|    #some rpms like atftp mount the rootimg/proc to /proc, we need to make sure rootimg/proc is free of junk  | ||||
|    `umount -l $imagedir/rootimg/proc 2>&1 1>/dev/null`; | ||||
|    # also umount the rootimg/sys | ||||
|    `umount -l $imagedir/rootimg/sys 2>&1 1>/dev/null`; | ||||
|  | ||||
|    #Start removing the rootimg directory and files | ||||
|    if (-d "$imagedir/rootimg") { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user