vmware / vmware/pyvmomi

Is it possible to make new boot order only be effective at next boot time?

Open
#467 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.