Skip to content

Instantly share code, notes, and snippets.

@dstokes
Created July 7, 2014 22:09
Show Gist options
  • Save dstokes/4b7aad7fa2e99c8e9a35 to your computer and use it in GitHub Desktop.
Save dstokes/4b7aad7fa2e99c8e9a35 to your computer and use it in GitHub Desktop.
SmartOS Vagrantfile (Virtualbox)
Vagrant.configure("2") do |config|
# existing box name
config.vm.box = "SmartOS"
# download url for box (if it doesn't already exist)
config.vm.box_url = "http://dlc-int.openindiana.org/aszeszo/vagrant/smartos-base1310-64-virtualbox-20130806.box"
# sync a local directory to the vm
#config.vm.synced_folder "/path/to/local/dir", "/path/to/vm/dir"
# expose vm on local network
#config.vm.network "private_network", ip: "192.168.50.4"
# vm resource allocation
#config.vm.provider "virtualbox" do |v|
# v.cpus = 2
# v.memory = 1024
#end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment