cloudfoundry / cloudfoundry/bosh-cli
Adding "bosh reset-vm" or "bosh reboot-vm" command?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 186
- Forks
- 170
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 3
Description
Sometimes the user might need to hard reset or soft reset (reboot) Virtual Machine on cloud (e.g. vSphere) without getting the VM recreated on cloud. The existing bosh recreate command would cause the VM to be recreated. And bosh restart command is only to restart all jobs on the VM.
Is it possible to have commands like bosh reset-vm and bosh reboot-vm command to hard and soft reset the VM on cloud respectively?
Take vSphere as example,
bosh reset-vm could simulate the "Power -> Reset" operation on vSphere client
bosh reboot-vm could simulate the "Power -> Restart Guest OS" operation on vSphere client.
Contributor guide
No contributing guide indexed for this repository
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 existing bosh recreate and bosh restart command entry points and how they invoke cloud VM operations. Check how vSphere exposes hard reset and guest-OS restart, then determine equivalent behavior across supported clouds; done means clearly defined bosh reset-vm and bosh reboot-vm commands without VM recreation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100