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.
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 |