-Explicit ESX deployment in anaconda plugin

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-06-16 14:15:00 +00:00
parent f917534b8f
commit 168d160909

View File

@ -59,7 +59,7 @@ sub handled_commands
return {
copycd => "anaconda",
mknetboot => "nodetype:os=(centos.*)|(rh.*)|(fedora.*)",
mkinstall => "nodetype:os=(centos.*)|(rh.*)|(fedora.*)",
mkinstall => "nodetype:os=(esx[34].*)|(centos.*)|(rh.*)|(fedora.*)",
};
}
@ -208,6 +208,10 @@ sub mknetboot
{
$platform = "fedora";
}
elsif ($osver =~ /esx.*/)
{
$platform = "esx";
}
my $arch = $ent->{arch};
my $profile = $ent->{profile};
@ -449,6 +453,10 @@ sub mkinstall
{
$platform = "fedora";
}
elsif ($os =~ /esx.*/)
{
$platform = "esx";
}
my $genos = $os;
$genos =~ s/\..*//;
if ($genos =~ /rh.s(\d*)/)