2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 00:00:12 +00:00

Fix rsetboot to an ESXi vm in DRS

In DRS mode, the hypervisor is not known.  Provide the task handler
a hook to find the connection by vm name instead.
This commit is contained in:
Jarrod Johnson
2015-06-03 14:56:31 -04:00
parent d79c345837
commit 515e231b45

View File

@ -2840,6 +2840,7 @@ sub setboot {
$running_tasks{$task}->{task} = $task;
$running_tasks{$task}->{callback} = \&generic_task_callback;
$running_tasks{$task}->{hyp} = $args{hyp};
$running_tasks{$task}->{vm} = $args{node};
$running_tasks{$task}->{data} = { node => $node, successtext => ${$args{exargs}}[0] };
}
sub register_vm {#Attempt to register existing instance of a VM