yoesoff

Vagrant Commands

Jan 10th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.52 KB | None | 0 0
  1. ╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/projects/Vagrant  
  2. ╰─➤  vagrant status                                                                                                                                                130
  3. Current machine states:
  4.  
  5. default                   running (virtualbox)
  6.  
  7. The VM is running. To stop this VM, you can run `vagrant halt` to
  8. shut it down forcefully, or you can run `vagrant suspend` to simply
  9. suspend the virtual machine. In either case, to restart it again,
  10. simply run `vagrant up`.
  11. ╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/projects/Vagrant  
  12. ╰─➤  vagrant suspend
  13. ==> default: Saving VM state and suspending execution...
  14. ╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/projects/Vagrant  
  15. ╰─➤  vagrant up    
  16. Bringing machine 'default' up with 'virtualbox' provider...
  17. ==> default: Checking if box 'hashicorp/precise64' is up to date...
  18. ==> default: Resuming suspended VM...
  19. ==> default: Booting VM...
  20. ==> default: Waiting for machine to boot. This may take a few minutes...
  21.     default: SSH address: 127.0.0.1:2222
  22.     default: SSH username: vagrant
  23.     default: SSH auth method: private key
  24. ==> default: Machine booted and ready!
  25. ==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
  26. ==> default: flag to force provisioning. Provisioners marked to run always will still run.
  27. ╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/projects/Vagrant  
  28. ╰─➤  vagrant halt
  29. ==> default: Attempting graceful shutdown of VM...
  30. ╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/projects/Vagrant  
  31. ╰─➤  vagrant up  
  32. Bringing machine 'default' up with 'virtualbox' provider...
  33. ==> default: Checking if box 'hashicorp/precise64' is up to date...
  34. ==> default: Clearing any previously set forwarded ports...
  35. ==> default: Vagrant has detected a configuration issue which exposes a
  36. ==> default: vulnerability with the installed version of VirtualBox. The
  37. ==> default: current guest is configured to use an E1000 NIC type for a
  38. ==> default: network adapter which is vulnerable in this version of VirtualBox.
  39. ==> default: Ensure the guest is trusted to use this configuration or update
  40. ==> default: the NIC type using one of the methods below:
  41. ==> default:
  42. ==> default:   https://www.vagrantup.com/docs/virtualbox/configuration.html#default-nic-type
  43. ==> default:   https://www.vagrantup.com/docs/virtualbox/networking.html#virtualbox-nic-type
  44. ==> default: Clearing any previously set network interfaces...
  45. ==> default: Preparing network interfaces based on configuration...
  46.     default: Adapter 1: nat
  47. ==> default: Forwarding ports...
  48.     default: 22 (guest) => 2222 (host) (adapter 1)
  49. ==> default: Booting VM...
  50. ==> default: Waiting for machine to boot. This may take a few minutes...
  51.     default: SSH address: 127.0.0.1:2222
  52.     default: SSH username: vagrant
  53.     default: SSH auth method: private key
  54. ==> default: Machine booted and ready!
  55. ==> default: Checking for guest additions in VM...
  56.     default: The guest additions on this VM do not match the installed version of
  57.     default: VirtualBox! In most cases this is fine, but in rare cases it can
  58.     default: prevent things such as shared folders from working properly. If you see
  59.     default: shared folder errors, please make sure the guest additions within the
  60.     default: virtual machine match the version of VirtualBox you have installed on
  61.     default: your host and reload your VM.
  62.     default:
  63.     default: Guest Additions Version: 4.2.0
  64.     default: VirtualBox Version: 5.2
  65. ==> default: Mounting shared folders...
  66.     default: /vagrant => /home/yoesoff/Documents/projects/Vagrant
  67. ==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
  68. ==> default: flag to force provisioning. Provisioners marked to run always will still run.
  69. ╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/projects/Vagrant  
  70. ╰─➤  vagrant status
  71. Current machine states:
  72.  
  73. default                   running (virtualbox)
  74.  
  75. The VM is running. To stop this VM, you can run `vagrant halt` to
  76. shut it down forcefully, or you can run `vagrant suspend` to simply
  77. suspend the virtual machine. In either case, to restart it again,
  78. simply run `vagrant up`.
  79. ╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/projects/Vagrant  
  80. ╰─➤  vagrant ssh
  81. Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
  82.  
  83.  * Documentation:  https://help.ubuntu.com/
  84. Welcome to your Vagrant-built virtual machine.
  85. Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
  86. vagrant@precise64:~$
Advertisement
Add Comment
Please, Sign In to add comment