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