diff --git a/pyanaconda/modules/storage/bootloader/systemd.py b/pyanaconda/modules/storage/bootloader/systemd.py index fe841aa636d..89c06099299 100644 --- a/pyanaconda/modules/storage/bootloader/systemd.py +++ b/pyanaconda/modules/storage/bootloader/systemd.py @@ -112,6 +112,11 @@ def write_config(self): root_uuid = util.execWithCapture("findmnt", [ "-sfn", "-oUUID", "/" ], root=conf.target.system_root) args += " root=UUID=" + root_uuid + + for image in self.images: + if image.device.type == "btrfs subvolume": + args += "rootflags=subvol=" + image.device.name + config.write(args) # rather than creating a mess in python lets just