mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	-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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user