Is it possible to make new boot order only be effective at next boot time?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
Hello guys, I'm writing a program to reboot the virtual machines using a different boot order.
Currently it seems there is no option to make new configured boot order only be effective
at next boot time.
So I powered OFF the VM and used ReconfigVM_Task() to boot the VM from network adapter(to install the whole system using pxe, and it should boot from the hard disk instead of network adapter when finish the installing and reboot), then powered on the VM.
When I tried to change the boot order back, I got a failure who said it is not allowed to change the boot order while the VM is powered ON.
I wonder if there is a way.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue's ReconfigVM_Task usage and the vSphere API's boot-order configuration rules. Determine whether the API supports a next-boot-only setting or whether the request requires a broader design decision; done should be a documented answer or a clearly scoped implementation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100