mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Update UserVmManagerImpl.java (#4162)
This commit is contained in:
parent
972d2e201c
commit
475ae904c0
@ -2833,7 +2833,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
|
||||
|
||||
Boolean enterSetup = cmd.getBootIntoSetup();
|
||||
if (enterSetup != null && !HypervisorType.VMware.equals(vmInstance.getHypervisorType())) {
|
||||
throw new InvalidParameterValueException("booting into a hardware setup menu does not make sense on " + vmInstance.getHypervisorType());
|
||||
throw new InvalidParameterValueException("Booting into a hardware setup menu is not implemented on " + vmInstance.getHypervisorType());
|
||||
}
|
||||
UserVm userVm = rebootVirtualMachine(CallContext.current().getCallingUserId(), vmId, enterSetup == null ? false : cmd.getBootIntoSetup());
|
||||
if (userVm != null ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user