diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 03d11d069..027db3d2d 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -8186,7 +8186,7 @@ sub mkdsklsnode { my $imgsrdir = xCAT::InstUtils->get_nim_attr_val( $imagehash{$osimg}{'shared_root'}, - "location", $callback, "", $subreq); + "location", $callback, $Sname, $subreq); $hostfile = "$imgsrdir/etc/.client_data/hosts.$snd"; $filesystemsfile = "$imgsrdir/etc/.client_data/filesystems.$snd"; } @@ -8194,7 +8194,7 @@ sub mkdsklsnode { my $imgrootdir = xCAT::InstUtils->get_nim_attr_val( $imagehash{$osimg}{'root'}, - "location", $callback, "", $subreq); + "location", $callback, $Sname, $subreq); $hostfile = "$imgrootdir/$snd/etc/hosts"; $filesystemsfile = "$imgrootdir/$snd/etc/filesystems"; }