8000 Update Vagrant to use Wily 15.10 by awh · Pull Request #1912 · weaveworks/weave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Update Vagrant to use Wily 15.10 #1912

Merged
merged 1 commit into from
Jan 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletio 8000 ns 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-15.04-amd64"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.box = "ubuntu/ubuntu-15.10-amd64"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/wily/current/wily-server-cloudimg-amd64-vagrant-disk1.box"

config.vm.network "private_network", ip: vm_ip
config.vm.provider :virtualbox do |vb|
Expand Down
6 changes: 3 additions & 3 deletions test/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ require '../vagrant-common.rb'
def configure_docker(host, hostname, ip)
pkgs = %w(docker-engine ethtool)

host.vm.box = "ubuntu/ubuntu-15.04-amd64"
host.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box"
host.vm.box = "ubuntu/ubuntu-15.10-amd64"
host.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/wily/current/wily-server-cloudimg-amd64-vagrant-disk1.box"

host.vm.provision :shell, :inline => "hostnamectl set-hostname "+hostname
host.vm.network "private_network", ip: ip

host.vm.synced_folder ".", "/vagrant", disabled: true

host.vm.provision :shell, :inline => "sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"
host.vm.provision :shell, :inline => "echo deb https://apt.dockerproject.org/repo ubuntu-vivid main > /etc/apt/sources.list.d/docker.list"
host.vm.provision :shell, :inline => "echo deb https://apt.dockerproject.org/repo ubuntu-wily main > /etc/apt/sources.list.d/docker.list"

install_packages host.vm, pkgs
tweak_docker_daemon host.vm
Expand Down
2 changes: 1 addition & 1 deletion vagrant-common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def install_build_deps(vm, pkgs)
apt-key adv \
--keyserver hkp://p80.pool.sks-keyservers.net:80 \
--recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo 'deb https://apt.dockerproject.org/repo ubuntu-vivid main' \
echo 'deb https://apt.dockerproject.org/repo ubuntu-wily main' \
> /etc/apt/sources.list.d/docker.list
SCRIPT
install_packages(vm, pkgs)
Expand Down
0