From: Wolfgang Link Date: Tue, 8 May 2018 07:27:00 +0000 (+0200) Subject: Add cifs as allowed storage type. X-Git-Url: https://git.proxmox.com/?p=pve-container.git;a=commitdiff_plain;h=be6c3dfab7d9fa9497a68eab6b285d557e334f8b Add cifs as allowed storage type. --- diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index de3c91f..4f9674d 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1348,7 +1348,7 @@ sub alloc_disk { eval { my $do_format = 0; - if ($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs') { + if ($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs' || $scfg->{type} eq 'cifs' ) { if ($size_kb > 0) { $volid = PVE::Storage::vdisk_alloc($storecfg, $storage, $vmid, 'raw', undef, $size_kb);