summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-12-06 20:27:45 -0700
committermo khan <mo@mokhan.ca>2013-12-06 20:27:45 -0700
commit2563273fc996a9f7bcd73c6fcb99d5047234ebe4 (patch)
tree9a9faa173d877d7665fbea9990767d490a8ab234 /Vagrantfile
parent7c19615caeb3290bcc6edeebfacef4f7b1d6ae83 (diff)
use vmware workstation provider.
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile43
1 files changed, 7 insertions, 36 deletions
diff --git a/Vagrantfile b/Vagrantfile
index b321c7f5..e1c22c25 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -2,16 +2,8 @@
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
- # All Vagrant configuration is done here. The most common configuration
- # options are documented and commented below. For a complete reference,
- # please see the online documentation at vagrantup.com.
-
- # Every Vagrant virtual environment requires a box to build off of.
- config.vm.box = "precise32"
-
- # The url from where the 'config.vm.box' box will be fetched if it
- # doesn't already exist on the user's system.
- config.vm.box_url = "http://files.vagrantup.com/precise32.box"
+ config.vm.box = "precise64"
+ config.vm.box_url = "http://files.vagrantup.com/precise64_vmware.box"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
@@ -19,6 +11,7 @@ Vagrant.configure("2") do |config|
#config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network :forwarded_port, guest: 3000, host: 3000
config.vm.provision :shell, :path => 'script/bootstrap.sh'
+ config.ssh.forward_agent = true
# Create a private network, which allows host-only access to the machine
# using a specific IP.
@@ -46,32 +39,10 @@ Vagrant.configure("2") do |config|
# # Use VBoxManage to customize the VM. For example to change memory:
# vb.customize ["modifyvm", :id, "--memory", "1024"]
# end
- #
- # View the documentation for the provider you're using for more
- # information on available options.
-
- # Enable provisioning with Puppet stand alone. Puppet manifests
- # are contained in a directory path relative to this Vagrantfile.
- # You will need to create the manifests directory and a manifest in
- # the file base.pp in the manifests_path directory.
- #
- # An example Puppet manifest to provision the message of the day:
- #
- # # group { "puppet":
- # # ensure => "present",
- # # }
- # #
- # # File { owner => 0, group => 0, mode => 0644 }
- # #
- # # file { '/etc/motd':
- # # content => "Welcome to your Vagrant-built virtual machine!
- # # Managed by Puppet.\n"
- # # }
- #
- # config.vm.provision :puppet do |puppet|
- # puppet.manifests_path = "manifests"
- # puppet.manifest_file = "init.pp"
- # end
+ config.vm.provider :vmware_workstation do |vm|
+ vm.gui = false
+ vm.vmx["displayname"] = "cakeside"
+ end
# Enable provisioning with chef solo, specifying a cookbooks path, roles
# path, and data_bags path (all relative to this Vagrantfile), and adding