-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Boot into hardware setup menu on Vmware #4021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
982edf0 to
ab510a3
Compare
7b4f5c9 to
8f68612
Compare
447a96c to
7e333a2
Compare
b785e0b to
af483ca
Compare
|
@DaanHoogland do you think it could be used to extend it for KVM? |
|
bootintobios does not make sense for KVM as you can edit the xml for setup @svenvogel. I have not looked into that, yet. Same is claimed for xen btw. It might make sense for some of the smaller hypervisors. |
734535c to
69db80a
Compare
|
Packaging result: ✔centos7 ✔debian. JID-1294 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-1626)
|
borisstoyanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
UI implementation for apache/cloudstack#4021 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> Co-authored-by: Daan Hoogland <dahn@onecht.net> Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
| UserVm userVm = rebootVirtualMachine(CallContext.current().getCallingUserId(), vmId); | ||
| 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()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like this message, missing capital "B" and in general I don't like it... can we reword it to "...not supported for ...." or similar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, yes we can but a new re-word PR is needed.
|
This or any of the VMware related PRs may have introduced some regression due to consistently failing test |
UI implementation for apache/cloudstack#4021 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> Co-authored-by: Daan Hoogland <dahn@onecht.net> Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
UI implementation for #4021 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> Co-authored-by: Daan Hoogland <dahn@onecht.net> Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Description
allow VMs to be started into BIOS on Vmware. This is implemented in the reboot, start and deploy APIs for user VMs.
Related Primate PR: apache/cloudstack-primate#313
Types of changes
Screenshots (if appropriate):
A primate PR has been created with number 313
How Has This Been Tested?
this has been manually verified by means of API/old-UI/primate and checking if the boot menu would then be visible or not depending on the flag passed.