[icinga-checkins] icinga.org: icinga-vagrant/master: icinga2x-cluster: Enable linked_clone if available

git at icinga.org git at icinga.org
Sun Aug 14 09:38:10 CEST 2016


Module: icinga-vagrant
Branch: master
Commit: f2a76152ae8918ed715a3251f21b18cc093fd97c
URL:    https://git.icinga.org/?p=icinga-vagrant.git;a=commit;h=f2a76152ae8918ed715a3251f21b18cc093fd97c

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Sun Aug 14 09:37:57 2016 +0200

icinga2x-cluster: Enable linked_clone if available

---

 icinga2x-cluster/Vagrantfile |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/icinga2x-cluster/Vagrantfile b/icinga2x-cluster/Vagrantfile
index 60c2094..5214d59 100644
--- a/icinga2x-cluster/Vagrantfile
+++ b/icinga2x-cluster/Vagrantfile
@@ -47,6 +47,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
 
         override.vm.boot_timeout = 600
 
+        # save storage
+        p.linked_clone = true
+
         # Set power consumption mode to "Better Performance"
         p.customize ["set", :id, "--longer-battery-life", "off"]
 
@@ -63,6 +66,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
         v.customize ["modifyvm", :id, "--cpus", "2"]
         # Using the host's resolver as a DNS proxy in NAT mode
         v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
+
+        # save storage
+        v.linked_clone = true if Vagrant::VERSION =~ /^1.8/
       end
 
       app_config.vm.provider :libvirt do |l, override|



More information about the icinga-checkins mailing list