github twitter email rss
Vagrant
0001 Jun 1
One minute read

Vagrant

https://vagrantcloud.com/discover/featured

config.vm.network "public_network", :bridge => 'en1: Wi-Fi (AirPort)'
config.vm.network :forwarded_port, guest: 80, host: 8080

config.vm.network "private_network", ip: "10.1.2.3" *config.vm.synced_folder ".", "/home/core/share", id: "core", :nfs => true, :mount_options => ['nolock,vers=3,udp']*

vagrant box add hashicorp/precise64
vagrant init hashicorp/precise64
vagrant up
vagrant suspend
vagrant box add
vagrant ssh
vagrant halt
vagrant destroy
vagrant reload

Parallels provider

vagrant plugin install vagrant-parallels
Parallels boxes
http://parallels.github.io/vagrant-parallels/docs/

vagrant-aws (0.6.0)
vagrant-digitalocean (0.7.3)
vagrant-omnibus (1.4.1)
vagrant-parallels (1.3.9)
vagrant-share (1.1.4, system)
vagrant-vbguest

How to build Ubuntu boxes

brew cask install parallels-virtualization-sdk
brew cask install packer

git clone https://github.com/box-cutter/ubuntu-vm.git
make parallels/ubuntu1404-desktop
config.vm.provider "virtualbox" do |v| 
  v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end

Back to posts


comments powered by Disqus