From 90bb1561417a5cb66cecbc4e4c10e57a9f9649d1 Mon Sep 17 00:00:00 2001 From: "Jinming Wu, Patrick" Date: Wed, 25 Aug 2021 10:19:02 +0800 Subject: [PATCH] subiquity/common/types.py: WSLConf1 type fix --- subiquity/common/types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subiquity/common/types.py b/subiquity/common/types.py index 271fb65c..e0818680 100644 --- a/subiquity/common/types.py +++ b/subiquity/common/types.py @@ -336,6 +336,8 @@ class ShutdownMode(enum.Enum): REBOOT = enum.auto() POWEROFF = enum.auto() + +@attr.s(auto_attribs=True) class WSLConfiguration1Data: custom_path: str = attr.ib(default='/mnt/') custom_mount_opt: str = ''