Update app compose for a VM.
(self, vm_id: str, app_compose: str)
| 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.""" |
| 973 | self.rpc_call("UpgradeApp", {"id": vm_id, "compose_file": app_compose}) |
| 974 | print(f"App compose updated for VM {vm_id}") |
| 975 | |
| 976 | def update_vm_ports(self, vm_id: str, ports: List[str]) -> None: |
| 977 | """Update port mapping for a VM.""" |