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

Feature request: vagrant package should not terminate VM's #10875

Open
binary-manu opened this issue May 24, 2019 · 0 comments
Open

Feature request: vagrant package should not terminate VM's #10875

binary-manu opened this issue May 24, 2019 · 0 comments

Comments

@binary-manu
Copy link

Vagrant version

2.2.4

Host operating system

Windows 7 Ultimate SP1 64 bit

Expected behavior

This is actually a feature request.

vagrant package should not try to shutdown VM's if a user runs the command against a running VM. First, that may take down important running tasks. Second, if vagrant is unable to perform a clean shudown, it fallbacks to forced termination, which will leave VM filesystems dirty and to be recovered on the next boot.

It should simply tell the user that the machine is running and suggest to stop it, or an option may be added to force the shutdown is desired. However, the default behavior should not be taking down machines.

Actual behavior

vagrant package terminates running VM's.

Steps to reproduce

  1. Run a VirtualBox VM (let's call it VMTest) outside Vagrant's control
  2. Run vagrant package --base VMTest
  3. VMTest is taken down
@binary-manu binary-manu changed the title vagrant package should not terminate VM's Feature request: vagrant package should not terminate VM's May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants