Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1138 from weaveworks/vagrantfile-update
Browse files Browse the repository at this point in the history
update default vagrant box to ubuntu 15
  • Loading branch information
errordeveloper committed Jul 14, 2015
2 parents 3a22d2e + d9c5d2f commit b4f53ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pkgs = %w(

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.box = "ubuntu/ubuntu-14.10-amd64"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/utopic/current/utopic-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.box = "ubuntu/ubuntu-15.04-amd64"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box"

config.vm.network "private_network", ip: vm_ip
config.vm.provider :virtualbox do |vb|
Expand Down
7 changes: 4 additions & 3 deletions vagrant-common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ def tweak_user_env(vm)
def tweak_docker_daemon(vm)
vm.provision :shell, :inline => <<SCRIPT
usermod -a -G docker vagrant
echo 'DOCKER_OPTS="-H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375"' \
>> /etc/default/docker
service docker restart
sed -i -e's%-H fd://%-H fd:// -H tcp://0.0.0.0:2375 -s overlay%' /lib/systemd/system/docker.service
systemctl daemon-reload
systemctl start docker
systemctl enable docker
SCRIPT
end

Expand Down

0 comments on commit b4f53ed

Please sign in to comment.