mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-17 20:00:19 +00:00
fix for bug 3122311: pass the service node to the get_nim_attr_val
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user