-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:
		| @@ -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"; | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user