Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created August 16, 2013 01:27
Show Gist options
  • Select an option

  • Save bobsilverberg/6246473 to your computer and use it in GitHub Desktop.

Select an option

Save bobsilverberg/6246473 to your computer and use it in GitHub Desktop.
mozwebqa-vagrant testing
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant status
Current machine states:
default running (virtualbox)
The VM is running. To stop this VM, you can run `vagrant halt` to
shut it down forcefully, or you can run `vagrant suspend` to simply
suspend the virtual machine. In either case, to restart it again,
simply run `vagrant up`.
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant suspend
[default] Saving VM state and suspending execution...
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant ssh -- -R 4444:localhost:4444
VM must be running to open SSH connection. Run `vagrant up`
to start the virtual machine.
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Resuming suspended VM...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
^C[default] Waiting for cleanup before exiting...
^C[default] Exiting immediately, without cleanup!
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] VirtualBox VM is already running.
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant ssh -- -R 4444:localhost:4444
^C
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant status
Current machine states:
default running (virtualbox)
The VM is running. To stop this VM, you can run `vagrant halt` to
shut it down forcefully, or you can run `vagrant suspend` to simply
suspend the virtual machine. In either case, to restart it again,
simply run `vagrant up`.
~/gitRepos/mozwebqa-vagrant[master*]$ vagrant halt
[default] Attempting graceful shutdown of VM...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment