Created
May 23, 2021 12:07
-
-
Save vinkrish/4db5d9937e94107272cae4ad612e5040 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get fresh ubuntu machine: | |
vagrant init ubuntu/trusty64 | |
vagrant up --provider virtualbox | |
SSH into newly built machine: | |
vagrant ssh | |
Dispose machine using: | |
vagrant destroy | |
To create vagrant file: | |
vagrant init | |
ls /vagrant | |
Vagrantfile | |
Reload Vagrantfile: | |
vagrant reload | |
Save the current state: | |
vagrant suspend | |
Gracefully shutdown the machine | |
vagrant halt | |
Display the ssh configuration: | |
vagrant ssh-config | |
ssh-keygen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment