create_pxe_config
Creates a destructive PXE configuration to reinstall an operating system on a Hostkey server; requires server and OS IDs, hostname, root password, and confirmation.
Instructions
PXE reinstall step 2: create a PXE config for OS install (eq/create_pxe). DESTRUCTIVE.
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": {
"id": "<id>",
"os_id": "<os_id>",
"root_pass": "<root_pass>",
"hostname": "<hostname>",
"confirm": "<confirm>"
},
"name": "create_pxe_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Server ID | |
| os_id | Yes | OS ID from list_os | |
| confirm | Yes | Must be true to run the operation. | |
| ssh_key | No | Public SSH key | |
| hostname | Yes | Hostname | |
| root_pass | Yes | Root password (min. 8 chars, uppercase letter, digit) | |
| reinstall_key | No | Master key from create_reinstall_task | |
| post_install_script | No | Post-install script | |
| post_install_callback | No | Callback URL after install |