Information Technology Reference
In-Depth Information
# Guest OS (Ubuntu 12.04)
$ who
After that you can close the ssh session with:
# Guest OS (Ubuntu 12.04)
$ exit
and check the status of virtual machine with:
# Host OS (e.g., Windows, Linux, OS X)
$ vagrant status
As you can see the virtual system is still running. Closing the ssh session doesn't af-
fect the state of the virtual system.
Finally, stop the virtual machine with:
# Host OS (e.g., Windows, Linux, OS X)
$ vagrant halt
This command shuts the system down. When the system is down, the command:
# Host OS (e.g., Windows, Linux, OS X)
$ vagrant status
prints:
default
poweroff (virtualbox)
You can boot it again with the $ vagrant up command.
You have to remember to halt the virtual system in the current recipe before you can
proceed with next recipe. If you do not remember, the folder that holds your currently
running virtual machine, you can use VirtualBox. Figure 11-1 presents the main win-
dow of VirtualBox. Using the Machine/Close/Power off main menu option
you can power off every virtual machine available.
 
Search WWH ::




Custom Search