ecs__ChangeServerOsWithCloudInit
Switch an ECS server's OS by reinstalling the system disk with a new image while preserving data disks, with optional Cloud-Init user data injection.
Instructions
[ECS] 切换弹性云服务器操作系统。支持弹性云服务器数据盘不变的情况下,使用新镜像重装系统盘。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"os-change": "<os-change>",
"project_id": "<project_id>",
"server_id": "<server_id>"
},
"name": "ecs__ChangeServerOsWithCloudInit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os-change | Yes | 切换弹性云服务器操作系统。 | |
| server_id | Yes | 云服务器ID。 | |
| project_id | Yes | 项目ID。 |