]> git.proxmox.com Git - pve-container.git/commitdiff
use multiple mount protection (mmp)
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Sep 2015 11:01:41 +0000 (13:01 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Sep 2015 11:01:41 +0000 (13:01 +0200)
src/PVE/LXC.pm

index 40942f9cc21ef659432f2f2dedbb4e0f94ee5411..eb69facf753509b6f633044636f24d8aebae25a9 100644 (file)
@@ -1973,7 +1973,7 @@ sub mount_all {
            die "unable to mount base volume - internal error" if $isBase;
 
            if ($format_raw_images && $format eq 'raw') {
-               my $cmd = ['mkfs.ext4', $image_path];
+               my $cmd = ['mkfs.ext4', '-O', 'mmp', $image_path];
                PVE::Tools::run_command($cmd);
            }