diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index ffe2f9d92..771cc97bf 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -1493,7 +1493,7 @@ sub validate_datastore_prereqs { my $hypconn = $hyphash{$hyp}->{conn}; my $hostview = $hyphash{$hyp}->{hostview}; unless ($hostview) { - hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$conn,properties=>['config','configManager']); + hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hypconn,properties=>['config','configManager']); $hostview = $hyphash{$hyp}->{hostview}; } my $node;