In this getting started guide, your project was always backed with VirtualBox. But Vagrant can work with a wide variety of backend providers, such as VMware Fusion,AWS, and more. Read the page of each provider for more information on how to set them up.
Once you have a provider installed, you don't need to make any modifications to your Vagrantfile, just vagrant up with the proper provider and Vagrant will do the rest:
$ vagrant up --provider=vmware_fusion
...
Ready to move that to the cloud? Take it to AWS:
$ vagrant up --provider=aws
...
Once you run vagrant up with another provider, every other Vagrant command doesn't need to be told what provider to use. Vagrant can automatically figure it out. So when you're ready to SSH or destroy or anything else, just run the commands like normal, such as vagrant destroy. No extra flags necessary.
For more information on providers, read the full documentation on providers.
想要了解更多,参阅Vagrant官方文档:http://docs.vagrantup.com/v2/
扫码二维码 获取免费视频学习资料
- 本文固定链接: http://phpxs.com/post/1238/
- 转载请注明:转载必须在正文中标注并保留原文链接
- 扫码: 扫上方二维码获取免费视频资料