]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/LVMPlugin.pm
lvm: wipe signatures on lvcreate
[pve-storage.git] / PVE / Storage / LVMPlugin.pm
index 039bfc13bb04806f3e03242843637513cd6b90bd..139d391eacd3befc6b714f2ed5792f085a68ade3 100644 (file)
@@ -330,7 +330,7 @@ sub lvcreate {
        $size .= "k"; # default to kilobytes
     }
 
-    my $cmd = ['/sbin/lvcreate', '-aly', '--size', $size, '--name', $name];
+    my $cmd = ['/sbin/lvcreate', '-aly', '-Wy', '--yes', '--size', $size, '--name', $name];
     for my $tag (@$tags) {
        push @$cmd, '--addtag', $tag;
     }