Add CentOS 5.1 32-bit x86 discid, have SLES10 support 32-bit installation media
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
127136dc67
commit
11286751f9
@ -20,6 +20,7 @@ my %distnames = (
|
||||
"1156364963.862322" => "centos4.4",
|
||||
"1178480581.024704" => "centos4.5",
|
||||
"1195929648.203590" => "centos5.1",
|
||||
"1195929637.060433" => "centos5.1",
|
||||
"1195488871.805863" => "centos4.6",
|
||||
"1195487524.127458" => "centos4.6",
|
||||
"1170973598.629055" => "rhelc5",
|
||||
|
@ -134,10 +134,16 @@ sub mkinstall
|
||||
xCAT::Postage->writescript($node, "/install/postscripts/" . $node);
|
||||
if (
|
||||
(
|
||||
$arch =~ /x86/
|
||||
$arch =~ /x86_64/
|
||||
and -r "/install/$os/$arch/1/boot/$arch/loader/linux"
|
||||
and -r "/install/$os/$arch/1/boot/$arch/loader/initrd"
|
||||
)
|
||||
or
|
||||
(
|
||||
$arch =~ /x86$/
|
||||
and -r "/install/$os/$arch/1/boot/i386/loader/linux"
|
||||
and -r "/install/$os/$arch/1/boot/i386/loader/initrd"
|
||||
)
|
||||
or ($arch =~ /ppc/ and -r "/install/$os/$arch/1/suseboot/inst64")
|
||||
)
|
||||
{
|
||||
@ -146,12 +152,17 @@ sub mkinstall
|
||||
unless ($doneimgs{"$os|$arch"})
|
||||
{
|
||||
mkpath("/tftpboot/xcat/$os/$arch");
|
||||
if ($arch =~ /x86/)
|
||||
if ($arch =~ /x86_64/)
|
||||
{
|
||||
copy("/install/$os/$arch/1/boot/$arch/loader/linux",
|
||||
"/tftpboot/xcat/$os/$arch/");
|
||||
copy("/install/$os/$arch/1/boot/$arch/loader/initrd",
|
||||
"/tftpboot/xcat/$os/$arch/");
|
||||
} elsif ($arch =~ /x86/) {
|
||||
copy("/install/$os/$arch/1/boot/i386/loader/linux",
|
||||
"/tftpboot/xcat/$os/$arch/");
|
||||
copy("/install/$os/$arch/1/boot/i386/loader/initrd",
|
||||
"/tftpboot/xcat/$os/$arch/");
|
||||
}
|
||||
elsif ($arch =~ /ppc/)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user