Change resolution before saving snapshot in VirtualBox (#47)

* Initailize aws support

* Add README for the VM server

* Refactor OSWorld for supporting more cloud services.

* Initialize vmware and aws implementation v1, waiting for verification

* Initlize files for azure, gcp and virtualbox support

* Debug on the VMware provider

* Fix on aws interface mapping

* Fix instance type

* Refactor

* Clean

* Add Azure provider

* hk region; debug

* Fix lock

* Remove print

* Remove key_name requirements when allocating aws vm

* Clean README

* Fix reset

* Fix bugs

* Add VirtualBox and Azure providers

* Add VirtualBox OVF link

* Raise exception on macOS host

* Init RAEDME for VBox

* Update VirtualBox VM download link

* Update requirements and setup.py; Improve robustness on Windows

* Fix network adapter

* Go through on Windows machine

* Add default adapter option

* Fix minor error

* Change resolution before creating snapshot

* Fix small error

* Change default provider option

---------

Co-authored-by: Timothyxxx <384084775@qq.com>
Co-authored-by: XinyuanWangCS <xywang626@gmail.com>
Co-authored-by: Tianbao Xie <47296835+Timothyxxx@users.noreply.github.com>
This commit is contained in:
HappySix
2024-06-20 19:03:13 +08:00
committed by GitHub
parent b4901cdad0
commit 16c3defe20
3 changed files with 16 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ def human_agent():
parser = argparse.ArgumentParser()
parser.add_argument('-p', '--path', type=str, default="", help="Path to the virtual machine.")
parser.add_argument('-e', '--example', type=str, help="Path to the example json file.")
parser.add_argument('-s', '--snapshot', type=str, help="Name of the snapshot to load.")
parser.add_argument('-s', '--snapshot', type=str, default="init_state", help="Name of the snapshot to load.")
parser.add_argument('-r', '--region', type=str, help="(For VirtualBox) Name of the bridged adapter. (For AWS) Name of the region.")
args = parser.parse_args(sys.argv[1:])