Vagrant: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
==Example==
==Example==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
vagrant box add hashicorp/precise64 https://app.vagrantup.com/hashicorp/boxes/precise64
vagrant box add hashicorp/precise64 https://vagrantcloud.com/hashicorp/boxes/precise64/versions/1.1.0/providers/virtualbox.box
vagrant init hashicorp/precise64
vagrant init hashicorp/precise64
vagrant up
vagrant up

Revision as of 01:23, 13 October 2018

Info

brew cask info virtualbox
brew cask info vagrant
brew cask info vagrant-manager

Install

brew cask install virtualbox
brew cask install vagrant
brew cask install vagrant-manager

Syntax

vagrant box add {title} {url}
vagrant init {title}

Example

vagrant box add hashicorp/precise64 https://vagrantcloud.com/hashicorp/boxes/precise64/versions/1.1.0/providers/virtualbox.box
vagrant init hashicorp/precise64
vagrant up
vagrant ssh
vagrant halt

References