From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org> 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 case. --- vmdebootstrap/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmdebootstrap/filesystem.py b/vmdebootstrap/filesystem.py index b911c05..5ca7e5a 100644 --- a/vmdebootstrap/filesystem.py +++ b/vmdebootstrap/filesystem.py @@ -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'