-
-
Notifications
You must be signed in to change notification settings - Fork 228
fix(disk): restore updating boot disk. #2150
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
Open
Vaneixus
wants to merge
15
commits into
bpg:main
Choose a base branch
from
Vaneixus:Update_Disk_Via_Import
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+94
−13
Open
Changes from 6 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
47abbdb
fix(disk): restore updating boot disk.
Vaneixus b48de3e
fix(vm): restart vm after update is done.
Vaneixus 7d32487
fix(lint): curly bracket indentation.
Vaneixus 2b72850
Merge branch 'main' into Update_Disk_Via_Import
bpg 43d1733
fix(vm): shutdown vm before updating boot disk.
Vaneixus f9004e9
Merge branch 'main' into Update_Disk_Via_Import
Vaneixus c67b910
Remove blank line in vm.go
Vaneixus abe7fbd
Merge branch 'main' into Update_Disk_Via_Import
Vaneixus 0c3e1ff
Merge branch 'bpg:main' into Update_Disk_Via_Import
Vaneixus 911c591
fix(vm): vm start happening twice.
Vaneixus 21b9694
fix(docs): update documentation for `import-from`.
Vaneixus 58bb9c0
feat(disk): improved import-from disk testing.
Vaneixus a407f4f
Update docs/resources/virtual_environment_vm.md
Vaneixus 45847b0
feat(disk): improved import-from disk testing.
Vaneixus bf9d532
Merge branch 'main' into Update_Disk_Via_Import
Vaneixus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this part was specifically removed here
so I think this change will break the VM update scenario, when VM has an imported disk.
What was the reason for adding this back?
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.
Hello again @bpg, the reason this was re-added was that the boot disk cannot be changed while the vm is running, you can only change it while it isn't, at least that's what I remember being the case back when I opened the first PR. This PR is currently untested. I just opened it as to show my progress. I should have probably put it as a draft. It's also why I move the start-up/shutdown code, I probably have to change that part again. But basically, the whole idea is to shut down the vm to allow the boot disk to be changed. I just haven't had the opportunity to test this again. I will be working again on this PR on the weekend.