DaanHoogland commented on a change in pull request #4021:
URL: https://github.com/apache/cloudstack/pull/4021#discussion_r418565412
##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -2866,7 +2892,11 @@ public UserVm rebootVirtualMachine(RebootVMCmd cmd)
throws InsufficientCapacityE
throw new InvalidParameterValueException("Unable to find service
offering: " + serviceOfferingId + " corresponding to the vm");
}
- UserVm userVm =
rebootVirtualMachine(CallContext.current().getCallingUserId(), vmId);
+ Boolean enterSetup = cmd.getBootIntoSetup();
+ if (! (enterSetup == null ||
HypervisorType.VMware.equals(vmInstance.getHypervisorType()))) {
Review comment:
would `enterSetup != null &&
!HypervisorType.VMware.equals(vmInstance.getHypervisorType())` be acceptable as
well?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]