diff --git a/gns3server/api/routes/controller/projects.py b/gns3server/api/routes/controller/projects.py index 433832a8..fa088534 100644 --- a/gns3server/api/routes/controller/projects.py +++ b/gns3server/api/routes/controller/projects.py @@ -320,6 +320,7 @@ async def export_project( include_snapshots: bool = False, include_images: bool = False, reset_mac_addresses: bool = False, + keep_compute_ids: bool = False, compression: schemas.ProjectCompression = "zstd", compression_level: int = None, ) -> StreamingResponse: @@ -366,6 +367,7 @@ async def export_project( tmpdir, include_snapshots=include_snapshots, include_images=include_images, + keep_compute_ids=keep_compute_ids, reset_mac_addresses=reset_mac_addresses, ) async for chunk in zstream: diff --git a/gns3server/schemas/config.py b/gns3server/schemas/config.py index 6e57aef8..3bc7a027 100644 --- a/gns3server/schemas/config.py +++ b/gns3server/schemas/config.py @@ -69,6 +69,7 @@ class QemuSettings(BaseModel): monitor_host: str = "127.0.0.1" enable_hardware_acceleration: bool = True require_hardware_acceleration: bool = False + allow_unsafe_options: bool = False model_config = ConfigDict(validate_assignment=True, str_strip_whitespace=True)