Navigation Menu

Skip to content

Commit

Permalink
apt: simplify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Oct 24, 2017
1 parent bafbb4b commit 0bf5f1a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/apt/Vagrantfile
Expand Up @@ -8,18 +8,19 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
vms = [
{
:id => "debian-jessie-i386",
:box_url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-8.2-i386_chef-provisionerless.box",
:box => "bento/debian-8.9-i386",
},
{
:id => "debian-jessie-amd64",
:box_url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-8.2_chef-provisionerless.box",
:box => "bento/debian-8.9",
},
{
},
]

vms.each do |vm|
config.vm.define(vm[:id]) do |node|
node.vm.box = vm[:id]
node.vm.box_url = vm[:box_url]
node.vm.box = vm[:box]
node.vm.provision(:shell, :path => "build-deb.sh")
end
end
Expand Down

0 comments on commit 0bf5f1a

Please sign in to comment.