defect 3374036: change to get the path of rootimg from osimage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
26f43ce6f4
commit
8eed74d183
@ -40,6 +40,7 @@ my %distnames = (
|
||||
"1272326751.405938" => "centos5.5",
|
||||
"1195488871.805863" => "centos4.6",
|
||||
"1195487524.127458" => "centos4.6",
|
||||
"1301444731.448392" => "centos5.6",
|
||||
"1170973598.629055" => "rhelc5",
|
||||
"1170978545.752040" => "rhels5",
|
||||
"1192660014.052098" => "rhels5.1",
|
||||
@ -620,7 +621,7 @@ sub mknetboot
|
||||
}
|
||||
else {
|
||||
$kcmdline =
|
||||
"imgurl=http://$imgsrv/install/netboot/$osver/$arch/$profile/rootimg.$suffix ";
|
||||
"imgurl=http://$imgsrv/$rootimgdir/rootimg.$suffix ";
|
||||
$kcmdline .= "XCAT=$xcatmaster:$xcatdport ";
|
||||
}
|
||||
|
||||
|
@ -1099,7 +1099,7 @@ sub mknetboot
|
||||
else
|
||||
{
|
||||
$kcmdline =
|
||||
"imgurl=http://$imgsrv/install/netboot/$osver/$arch/$profile/rootimg.$suffix ";
|
||||
"imgurl=http://$imgsrv/$rootimgdir/rootimg.$suffix ";
|
||||
}
|
||||
if (defined $sent->{serialport})
|
||||
{
|
||||
|
@ -426,7 +426,7 @@ sub mknetboot
|
||||
else
|
||||
{
|
||||
$kcmdline =
|
||||
"imgurl=http://$imgsrv/install/netboot/$osver/$arch/$profile/rootimg.$suffix ";
|
||||
"imgurl=http://$imgsrv/$rootimgdir/rootimg.$suffix ";
|
||||
}
|
||||
$kcmdline .= "XCAT=$xcatmaster:$xcatdport ";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user