diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index fc337d37b..0b00548e3 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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*)/)