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

A couple newbie questions #62

Open
roboaks opened this issue Sep 23, 2021 · 0 comments
Open

A couple newbie questions #62

roboaks opened this issue Sep 23, 2021 · 0 comments

Comments

@roboaks
Copy link

roboaks commented Sep 23, 2021

I am new to Vagrant, which I am using to test Chocolatey packages I am developing. I am using the Vagrant Chocolatey Test Environment, which is working well.

Here are my naïve questions:

  1. Does a vagrant sandbox commit survive the various Vagrant teardown commands, such as vagrant suspend and vagrant halt, and vagrant destroy? That is, will a vagrant up after that restore the VM state at the time the vagrant sandbox commit was issued?
  2. Assuming that vagrant sandbox commit only survives a suspend, to establish a new suspend-surviving VM can I just issue:
    vagrant sandbox on
    do stuff on the vm
    vagrant sandbox commit
    vagrant suspend
    

The issue I'm dealing with is that the Chocolatey Test Environment (CTE) VM contains some software, such as Notepad++, that I am actually building packages for, so I don't want it to be installed on the VM when I start my package testing. I also don't want to have to uninstall all this software when I start my testing after working on other things for a while. Can you suggest the best practice workflow for this situation?

Thanks so much.

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

No branches or pull requests

1 participant