Commit 3f06672b authored by Guido Gunther's avatar Guido Gunther
Browse files

Don't pass any filesystem flags for f2fs

parent b1bfa268
From: =?utf-8?q?Guido_G=C3=BCnther?= <>
Date: Fri, 27 Sep 2019 15:03:48 +0200
Subject: Don't pass any filesystem flags for f2fs
It does not like errors=remount-ro and mounts the rootfs ro in this
vmdebootstrap/ | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vmdebootstrap/ b/vmdebootstrap/
index b911c05..5ca7e5a 100644
--- a/vmdebootstrap/
+++ b/vmdebootstrap/
@@ -182,7 +182,7 @@ class Filesystem(Base):
def get_mount_flags(fstype):
"""Return the fstab mount flags for a given file system type."""
flags = ['errors=remount-ro']
- if fstype == 'btrfs':
+ if fstype in ['btrfs', 'f2fs']:
flags = []
return ','.join(flags) or 'defaults'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment