the file discinfo.pm is moved into xCAT::data namespace,anaconda.pm is modified accordingly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ce470c7c4f
commit
1f52436da5
@ -1183,7 +1183,8 @@ sub copycd
|
||||
my $installroot = "/install";
|
||||
my $sitetab = xCAT::Table->new('site');
|
||||
|
||||
require xCAT::discinfo;
|
||||
require xCAT::data::discinfo;
|
||||
|
||||
|
||||
if ($sitetab)
|
||||
{
|
||||
@ -1239,11 +1240,11 @@ sub copycd
|
||||
$darch = "x86";
|
||||
}
|
||||
close($dinfo);
|
||||
if ($xCAT::discinfo::distnames{$did})
|
||||
if ($xCAT::data::discinfo::distnames{$did})
|
||||
{
|
||||
unless ($distname)
|
||||
{
|
||||
$distname = $xCAT::discinfo::distnames{$did};
|
||||
$distname = $xCAT::data::discinfo::distnames{$did};
|
||||
}
|
||||
}
|
||||
elsif ($desc =~ /^Final$/)
|
||||
|
Loading…
Reference in New Issue
Block a user