Merge branch 'feat/aws-provider-support' into main

This commit is contained in:
Zilong Zhou
2025-05-27 16:36:16 +08:00
committed by GitHub
5 changed files with 18 additions and 27 deletions

View File

@@ -69,7 +69,8 @@ class DesktopEnv(gym.Env):
self.path_to_vm = os.path.abspath(os.path.expandvars(os.path.expanduser(path_to_vm))) \
if provider_name in {"vmware", "virtualbox"} else path_to_vm
else:
self.path_to_vm = self.manager.get_vm_path(region) # self.os_type,
self.path_to_vm = self.manager.get_vm_path(os_type=self.os_type, region=region)
self.snapshot_name = snapshot_name
self.cache_dir_base: str = cache_dir