mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Fix to access resources_path and install_builtin_appliances settings
This commit is contained in:
5 files changed
+20
-14
No files matched your search
@@ -127,6 +127,7 @@ class ServerSettings(BaseModel):
|
||||
appliances_path: str = "~/GNS3/appliances"
|
||||
symbols_path: str = "~/GNS3/symbols"
|
||||
configs_path: str = "~/GNS3/configs"
|
||||
resources_path: str = None
|
||||
default_symbol_theme: BuiltinSymbolTheme = BuiltinSymbolTheme.affinity_square_blue
|
||||
allow_raw_images: bool = True
|
||||
auto_discover_images: bool = True
|
||||
@@ -145,6 +146,7 @@ class ServerSettings(BaseModel):
|
||||
default_nat_interface: str = None
|
||||
allow_remote_console: bool = False
|
||||
enable_builtin_templates: bool = True
|
||||
install_builtin_appliances: bool = True
|
||||
model_config = ConfigDict(validate_assignment=True, str_strip_whitespace=True, use_enum_values=True)
|
||||
|
||||
@field_validator("additional_images_paths", mode="before")
|
||||
|
||||
Reference in new issue
Block a user