MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / default

Method default

crates/openshell-server/src/compute/vm.rs:153–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152impl Default for VmComputeConfig {
153 fn default() -> Self {
154 Self {
155 state_dir: Self::default_state_dir(),
156 driver_dir: None,
157 default_image: openshell_core::image::default_sandbox_image(),
158 grpc_endpoint: String::new(),
159 bootstrap_image: String::new(),
160 krun_log_level: Self::default_krun_log_level(),
161 vcpus: Self::default_vcpus(),
162 mem_mib: Self::default_mem_mib(),
163 overlay_disk_mib: Self::default_overlay_disk_mib(),
164 guest_tls_ca: None,
165 guest_tls_cert: None,
166 guest_tls_key: None,
167 }
168 }
169}
170
171#[cfg(unix)]

Callers

nothing calls this directly

Calls 1

default_sandbox_imageFunction · 0.85

Tested by

no test coverage detected