diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index a2aed55a1..455611d89 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -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";