Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Update example vagrantfile to test vagrant-cachier integration
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrehm committed Feb 27, 2014
1 parent 2c2b8eb commit 188cdd6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions example/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,22 @@ Vagrant.require_plugin 'vagrant-cachier'
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.cache.scope = :box
config.cache.scope = :machine

# This just fires up a container with a SSH server
# This fires up a container with a SSH server
config.vm.define 'dummy' do |node|
node.vm.box = 'dummy'
node.vm.box_url = 'http://bit.ly/vagrant-docker-dummy'

node.vm.provider :docker do |docker|
docker.image = 'fgrehm/vagrant-ubuntu:precise'
docker.privileged = true
docker.volumes << '/var/lib/docker'
end

node.cache.synced_folder_opts = {
type: :nfs, mount_options: ['rw', 'vers=3', 'tcp', 'nolock']
}
end

# This is a container that gets provisioned with Puppet
Expand Down

0 comments on commit 188cdd6

Please sign in to comment.