From 8b712b7715cdf4c6c1926d6ee054404d6b3c788e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 23 Oct 2018 11:48:30 +0200 Subject: [PATCH] remove redundant setting of default volume/backingStore mode According to the docs, for volumes and backingStores: "The mode defaults to 0600 when not provided. https://libvirt.org/formatstorage.html Removing this setting here allows the pool configuration to set the default mode. --- lib/vagrant-libvirt/action/create_domain_volume.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/vagrant-libvirt/action/create_domain_volume.rb b/lib/vagrant-libvirt/action/create_domain_volume.rb index 5801a87..092a408 100644 --- a/lib/vagrant-libvirt/action/create_domain_volume.rb +++ b/lib/vagrant-libvirt/action/create_domain_volume.rb @@ -51,7 +51,6 @@ module VagrantPlugins xml.permissions do xml.owner storage_uid(env) xml.group storage_gid(env) - xml.mode '0600' xml.label 'virt_image_t' end end @@ -61,7 +60,6 @@ module VagrantPlugins xml.permissions do xml.owner storage_uid(env) xml.group storage_gid(env) - xml.mode '0600' xml.label 'virt_image_t' end end