From 9bf23897bb9c24199be9a74b527b1b3f21187ff3 Mon Sep 17 00:00:00 2001 From: sjing Date: Fri, 24 Feb 2012 07:04:14 +0000 Subject: [PATCH] Fix lpp_source failed to define on sn issue. Also fix the image_data doSNcopy2 issue. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 3f23081e4..a10332dd3 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -8784,7 +8784,7 @@ sub doSNcopy2 "mksysb", "resolv_conf", "script", "installp_bundle", "bosinst_data", "lpp_source", - "spot" + "spot", "image_data" ); if (grep(/^$restype$/, @dorestypes)) { @@ -11253,7 +11253,7 @@ sub make_SN_resource # ex. /install/nim/lpp_source # define the local res - my $cmd = "/usr/sbin/nim -Fo define -t lpp_source -a server=master -a location=$loc "; + my $cmd = "/usr/sbin/nim -Fo define -t lpp_source -a server=master -a location=$resdir "; my @validattrs = ("verbose", "nfs_vers", "nfs_sec", "packages", "use_source_simages", "arch", "show_progress", "multi_volume", "group");