summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Vagrantfile b/Vagrantfile
index cb9392e3..c8ebc687 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,17 +1,18 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
-Vagrant.configure("2") do |config|
+Vagrant.configure("2") do |box|
# Please verify the sha512 sum of the downloaded box before importing it into vagrant !
# see https://leap.se/en/docs/platform/details/development#Verify.vagrantbox.download
# for details
- config.vm.define :"wheezy", primary: true do |config|
- config.vm.box = "LEAP/wheezy"
+ box.vm.define :"jessie", primary: true do |config|
+
+ config.vm.box = "LEAP/jessie"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
- v.name = "wheezy"
+ v.name = "jessie"
end
config.vm.provision "puppet" do |puppet|
@@ -28,12 +29,12 @@ Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 443, host:4443
end
- config.vm.define :"jessie", autostart: false do |config|
+ box.vm.define :"wheezy", autostart: false do |config|
- config.vm.box = "LEAP/jessie"
+ config.vm.box = "LEAP/wheezy"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
- v.name = "jessie"
+ v.name = "wheezy"
end
config.vm.provision "puppet" do |puppet|
@@ -49,5 +50,4 @@ Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 80, host:8080
config.vm.network "forwarded_port", guest: 443, host:4443
end
-
end