reinstall_server
Reinstall the operating system on an existing server, erasing all disk data. Requires confirmation and hostname verification; async status via check_task.
Instructions
Reinstall OS on an existing server (simplified path via eq/order_instance with id). DESTRUCTIVE: all disk data will be erased. Requires HOSTKEY_ALLOW_DESTRUCTIVE=1 in the server environment, confirm=true, and re-entering the server's current hostname. Async: status via check_task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Server ID | |
| os_id | Yes | New OS ID from list_os (0 + own_os=1 — no OS install) | |
| own_os | No | 1 — do not install OS | |
| confirm | Yes | Required (=true) to start reinstall | |
| soft_id | No | Software ID from list_software | |
| ssh_key | No | Public SSH key for root | |
| hostname | Yes | Current server hostname — confirms the correct server is selected | |
| root_pass | Yes | New root password | |
| deploy_notify | No | ||
| post_install_script | No |