mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	relative path support for mknimimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -2575,6 +2575,9 @@ sub mk_mksysb | ||||
|             	} | ||||
|  | ||||
| 			} elsif ($::SYSB) { | ||||
| 				if($::SYSB !~ /^\//) { #relative path | ||||
| 					$::SYSB = xCAT::Utils->full_path($::SYSB, $::cwd); | ||||
| 				} | ||||
|  | ||||
| 				# def res with existing mksysb image | ||||
| 				my $mkcmd = "/usr/sbin/nim -o define -t mksysb -a server=master -a location=$::SYSB $mksysb_name 2>&1"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user