MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / cmd_sys_setup

Function cmd_sys_setup

dstack-util/src/system_setup.rs:715–723  ·  view source on GitHub ↗
(args: SetupArgs)

Source from the content-addressed store, hash-verified

713}
714
715pub async fn cmd_sys_setup(args: SetupArgs) -> Result<()> {
716 let stage0 = Stage0::load(&args)?;
717 let vmm = stage0.host_api();
718 let result = do_sys_setup(stage0).await;
719 if let Err(err) = &result {
720 vmm.notify_q("boot.error", &format!("{err:#}")).await;
721 }
722 result
723}
724
725async fn do_sys_setup(stage0: Stage0<'_>) -> Result<()> {
726 if stage0.shared.app_compose.secure_time {

Callers 1

mainFunction · 0.85

Calls 3

do_sys_setupFunction · 0.85
host_apiMethod · 0.80
notify_qMethod · 0.80

Tested by

no test coverage detected