You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Run a VirtualBox VM (let's call it VMTest) outside Vagrant's control
Run vagrant package --base VMTest
VMTest is taken down
The text was updated successfully, but these errors were encountered:
binary-manu
changed the title
vagrant package should not terminate VM's
Feature request: vagrant package should not terminate VM's
May 24, 2019
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
VMTest
) outside Vagrant's controlvagrant package --base VMTest
VMTest
is taken downThe text was updated successfully, but these errors were encountered: