create_pxe_config
Create a PXE configuration for OS reinstallation on a server. Sets root password, hostname, and optional SSH key or post-install scripts. Requires explicit confirmation; destructive.
Instructions
Шаг 2 PXE-переустановки: создать PXE-конфиг для установки ОС (eq/create_pxe). ДЕСТРУКТИВНО.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID сервера | |
| os_id | Yes | ID ОС из list_os | |
| confirm | Yes | Must be true to run the operation. | |
| ssh_key | No | Публичный SSH-ключ | |
| hostname | Yes | Имя хоста | |
| root_pass | Yes | Пароль root (мин. 8 символов, заглавная буква, цифра) | |
| reinstall_key | No | Мастер-ключ из create_reinstall_task | |
| post_install_script | No | Скрипт после установки | |
| post_install_callback | No | URL callback после установки |