hostodo_install_artifact
Install a verified artifact to a VM filesystem by downloading, checking SHA-256, setting ownership and permissions, and moving it atomically to the target path.
Instructions
Install a previously uploaded artifact to the VM filesystem. Downloads the artifact to the VM, verifies SHA-256, sets ownership and permissions, and atomically moves to the destination path. Requires vms:exec scope and mcp_exec_enabled on the target VM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | File permissions in octal (e.g., '0644', '755'). Default: '0644'. | 0644 |
| owner | No | File owner in 'user' or 'user:group' format. Default: 'root'. | root |
| artifact_id | Yes | Artifact ID from hostodo_create_artifact_upload. | |
| destination_path | Yes | Absolute path where the file will be installed. Parent directories will be created if needed. Certain system paths are denied. |