Skip to content
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

auotstart an instance on publish if it was already running #138

Merged
merged 2 commits into from
Apr 23, 2023

Conversation

idroz
Copy link
Collaborator

@idroz idroz commented Apr 23, 2023

This addresses #136

The pull request also makes a switch to pause/resume rather than stop/start as that is considerably faster.

The VM is auto started only if it had been running prior to publish.

It is desirable for the VM to be stopped for publish,, but is not essential. A stopped VM will contain a fixed state (if there were any write operations running). For safety, it may be desirable, to prevent the user from publishing a Running VM and force the user to manually stop/pause it to ensure the user remains in control of the final publishable VM step.

Can have a discussion about this and incorporate into this PR if desirable.

@idroz idroz requested a review from maxzinkus April 23, 2023 10:27
@idroz idroz linked an issue Apr 23, 2023 that may be closed by this pull request
@idroz idroz merged commit c02aa21 into main Apr 23, 2023
@idroz idroz deleted the autostart-instance branch April 23, 2023 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autostart VM on publish/import
1 participant