-Be explicit about hypervisor placement such that vm.host is relayed to VMWare in clustered scenarios
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e0e40e4b6c
commit
39cc38161a
@ -1168,7 +1168,7 @@ sub mknewvm {
|
||||
my $hyp=shift;
|
||||
#TODO: above
|
||||
my $cfg = build_cfgspec($node,$hyphash{$hyp}->{datastoremap},$hyphash{$hyp}->{nets},$disksize,$hyp);
|
||||
my $task = $hyphash{$hyp}->{vmfolder}->CreateVM_Task(config=>$cfg,pool=>$hyphash{$hyp}->{pool});
|
||||
my $task = $hyphash{$hyp}->{vmfolder}->CreateVM_Task(config=>$cfg,pool=>$hyphash{$hyp}->{pool},host=>$hyphash{$hyp}->{hostview});
|
||||
$running_tasks{$task}->{task} = $task;
|
||||
$running_tasks{$task}->{callback} = \&mkvm_callback;
|
||||
$running_tasks{$task}->{hyp} = $hyp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user