-Change Xen default disk setup to create IDE drives for some Xen BIOSes and Windows stability

-Have dhcpd recognize Etherboot clients and presume x86 (Xen net boot support)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-09-04 19:36:23 +00:00
parent 64893a9698
commit 886b0dc575
2 changed files with 3 additions and 1 deletions

View File

@ -653,6 +653,8 @@ sub addnet
}
push @netent, " if option client-architecture = 00:00 { #x86\n";
push @netent, " filename \"pxelinux.0\";\n";
push @netent, " else if option vendor-class-identifier = \"Etherboot-5.4\" { #x86\n";
push @netent, " filename \"pxelinux.0\";\n";
push @netent,
" } else if option client-architecture = 00:02 { #ia64\n ";
push @netent, " filename \"elilo.efi\";\n";

View File

@ -97,7 +97,7 @@ sub build_diskstruct {
my $disklocs=$vmhash->{$node}->[0]->{storage};
my @locations=split /\|/,$disklocs;
foreach (@locations) {
$currdev='sd'.$suffixes[$suffidx++];
$currdev='hd'.$suffixes[$suffidx++];
$diskhash->{type}='file';
$diskhash->{source}->{file}=$_; #"/vms/$node";
$diskhash->{target}->{dev}=$currdev;