Skip to content

Commit c190dfd

Browse files
Merge pull request #1509 from vojtechtrefny/main_stratis-fix-mount-opts
Fix extra mount options for Stratis filesystems in fstab
2 parents b812336 + 9b5f72a commit c190dfd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

blivet/formats/fs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,9 +1255,9 @@ def __init__(self, **kwargs):
12551255
def _get_options(self):
12561256
opts = super(StratisXFS, self)._get_options()
12571257
if self.mountpoint != "/":
1258-
stratis_opts = "x-systemd.requires=stratis-fstab-setup@%s," \
1259-
"x-systemd.after=stratis-fstab-setup@%s" % (self.pool_uuid,
1260-
self.pool_uuid)
1258+
stratis_opts = "x-systemd.requires=stratis-fstab-setup@%s.service," \
1259+
"x-systemd.after=stratis-fstab-setup@%s.service" % (self.pool_uuid,
1260+
self.pool_uuid)
12611261
else:
12621262
stratis_opts = None
12631263
return ",".join(o for o in (opts, stratis_opts) if o)

0 commit comments

Comments
 (0)