summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-12-23 15:43:53 +0100
committervarac <varacanero@zeromail.org>2015-12-23 15:43:53 +0100
commitafdce78e2a1128cf9590df9c1f1623f029cedd55 (patch)
treeee7e2ce842597fca2d31125d9596bc38f8613cc6 /Vagrantfile
parent72f7df9b499cb78dcb72c8daa7521ec4cfc425a4 (diff)
[feat] Vagrantfile now contains a jessie box
jessie is now the default box
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