Information Technology Reference
In-Depth Information
processor. The process of waking a suspended system up is done with the $ vagrant
resume or $ vagrant up commands.
The $ vagrant halt command shuts the virtual machine down. The next time
you bring the virtual machine up with $ vagrant up , the system will be rebooted.
The $ vagrant destroy command removes the virtual machine permanently.
The next time you run $ vagrant up the virtual machine will be created from
scratch. That means all the files you created during your previous ssh session will be
removed.
If you are finished with your virtual system for the moment but you think you may
need it in the future, you should use the $ vagrant suspend command. After the
$ vagrant suspend command, the virtual system doesn't consume your com-
puter's resources such as RAM or processor. The system is stored on the file system
until the next $ vagrant resume or $ vagrant up command. Keep in mind
that the process of waking the virtual system that was suspended with $ vagrant
suspend is the quickest possible method to bring the virtual system back.
If you want to start over again then use $ vagrant destroy command.
The state of the virtual machine
At any given time the virtual machine can be in one of these following states:
• Not created
• Running
• Saved
• Powered off
The first state is returned by the $ vagrant status command as:
default
not created (virtualbox)
The machine is in this state:
• Right after $ vagrant init and before $ vagrant up
• After $ vagrant destroy
The second state is described by the $ vagrant status command as:
Search WWH ::




Custom Search