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:
parent
dbfca3be2a
commit
0d849e2956
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user