From 5d2d30a78e94e076cc81736d5a8b21ef084014fc Mon Sep 17 00:00:00 2001 From: Lili Deng Date: Wed, 20 Nov 2024 10:44:45 +0800 Subject: [PATCH] Fix value error for guest_vm_type --- lisa/sut_orchestrator/libvirt/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/sut_orchestrator/libvirt/context.py b/lisa/sut_orchestrator/libvirt/context.py index 77893a824d..e9fbc5aab4 100644 --- a/lisa/sut_orchestrator/libvirt/context.py +++ b/lisa/sut_orchestrator/libvirt/context.py @@ -55,7 +55,7 @@ class NodeContext: vm_name: str = "" kernel_source_path: str = "" kernel_path: str = "" - guest_vm_type: GuestVmType = GuestVmType.Standard + guest_vm_type: GuestVmType = field(default_factory=lambda: GuestVmType.Standard) cloud_init_file_path: str = "" ignition_file_path: str = "" os_disk_source_file_path: Optional[str] = None