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

Method update_vm_user_config

vmm/src/vmm-cli.py:966–969  ·  view source on GitHub ↗

Update user config for a VM.

(self, vm_id: str, user_config: str)

Source from the content-addressed store, hash-verified

964 print(f"Environment variables updated for VM {vm_id}")
965
966 def update_vm_user_config(self, vm_id: str, user_config: str) -> None:
967 """Update user config for a VM."""
968 self.rpc_call("UpgradeApp", {"id": vm_id, "user_config": user_config})
969 print(f"User config updated for VM {vm_id}")
970
971 def update_vm_app_compose(self, vm_id: str, app_compose: str) -> None:
972 """Update app compose for a VM."""

Callers 1

mainFunction · 0.95

Calls 1

rpc_callMethod · 0.95

Tested by

no test coverage detected