From 00468c1ab90889085ddbc1ba2c416c31a6df58eb Mon Sep 17 00:00:00 2001 From: av Date: Mon, 11 May 2026 15:00:24 +0300 Subject: [PATCH] adding docs for ipxe --- docs/index.md | 9 +++++++++ docs/srvctl-hosts-ebm-add/description.md | 2 +- docs/srvctl-hosts-ebm-add/examples.md | 23 +++++++++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 2ed8627..9233225 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,6 +17,7 @@ | [srvctl hosts ebm get-oob-credentials](srvctl-hosts-ebm-get-oob-credentials/description.md) | Hosts / Enterprise Bare Metal | This command provides OOB credentials for the selected server. | | [srvctl hosts ebm list-connections](srvctl-hosts-ebm-list-connections/description.md) | Hosts / Enterprise Bare Metal | This command lists connections for the selected enterprise bare metal server. | | [srvctl hosts ebm list-drive-slots](srvctl-hosts-ebm-list-drive-slots/description.md) | Hosts / Enterprise Bare Metal | This command lists drive slots for the selected enterprise bare metal server. | +| [srvctl hosts ebm feature-set](srvctl-hosts-ebm-feature-set/description.md) | Hosts / Enterprise Bare Metal | This command activates or deactivates a feature on the selected enterprise bare metal server. | | [srvctl hosts ebm list-features](srvctl-hosts-ebm-list-features/description.md) | Hosts / Enterprise Bare Metal | This command lists features for the selected enterprise bare metal server. | | [srvctl hosts ebm list-networks](srvctl-hosts-ebm-list-networks/description.md) | Hosts / Enterprise Bare Metal | This command lists networks for the selected enterprise bare metal server. | | [srvctl hosts ebm list-power-feeds](srvctl-hosts-ebm-list-power-feeds/description.md) | Hosts / Enterprise Bare Metal | This command lists power feeds for the selected enterprise bare metal server. | @@ -143,4 +144,12 @@ | [srvctl server-models](srvctl-server-models/description.md) | Server Models | This command allows to manage server models. | | [srvctl server-models list](srvctl-server-models-list/description.md) | Server Models | This command lists server models for the specified location. | | [srvctl server-models get](srvctl-server-models-get/description.md) | Server Models | This command provides information for the selected server model. | +| [srvctl rbs](srvctl-rbs/description.md) | Remote Block Storage | This command allows to manage remote block storage volumes. | +| [srvctl rbs list](srvctl-rbs-list/description.md) | Remote Block Storage | This command lists remote block storage volumes of the account. | +| [srvctl rbs get](srvctl-rbs-get/description.md) | Remote Block Storage | This command provides information for the selected remote block storage volume. | +| [srvctl rbs add](srvctl-rbs-add/description.md) | Remote Block Storage | A command to create a new remote block storage volume. | +| [srvctl rbs update](srvctl-rbs-update/description.md) | Remote Block Storage | This command updates parameters and labels for the selected remote block storage volume. | +| [srvctl rbs delete](srvctl-rbs-delete/description.md) | Remote Block Storage | This command deletes the selected remote block storage volume. | +| [srvctl rbs get-credentials](srvctl-rbs-get-credentials/description.md) | Remote Block Storage | This command provides iSCSI credentials for the selected remote block storage volume. | +| [srvctl rbs reset-credentials](srvctl-rbs-reset-credentials/description.md) | Remote Block Storage | This command resets iSCSI credentials for the selected remote block storage volume. | diff --git a/docs/srvctl-hosts-ebm-add/description.md b/docs/srvctl-hosts-ebm-add/description.md index fe03e58..ba96847 100644 --- a/docs/srvctl-hosts-ebm-add/description.md +++ b/docs/srvctl-hosts-ebm-add/description.md @@ -2,4 +2,4 @@ A command to create a enterprise bare metal server. It allows to pass parameters - Input - server parameters are described in a file, a path to the file is specified via the `-i` or `–input` flag. The path can be absolute or relative to the srvctl file. Parameters should be described as a request body of the [Public API request](https://developers.servers.com/api-documentation/v1/#tag/Dedicated-Server/operation/CreateADedicatedServer). There is also an option to use standard input (stdin) when specifying the flag this way: `--input -` -- Flags - parameters are specified via flags inside the command and hostnames are listed as position arguments. As many arguments, as many servers of this configuration will be created. The only available authentication method is password. An SSH key can be added only via the input process. +- Flags - parameters are specified via flags inside the command and hostnames are listed as position arguments. As many arguments, as many servers of this configuration will be created. The only available authentication method is password. An SSH key can be added only via the input process. Use `--ipxe-config` to supply an iPXE script for private iPXE boot. diff --git a/docs/srvctl-hosts-ebm-add/examples.md b/docs/srvctl-hosts-ebm-add/examples.md index 17a8ff1..e06d19f 100644 --- a/docs/srvctl-hosts-ebm-add/examples.md +++ b/docs/srvctl-hosts-ebm-add/examples.md @@ -96,3 +96,26 @@ srvctl hosts ebm add \ --ipv6 \ ``` + +#### Create server with an iPXE boot script + +Pass an inline iPXE script via the `--ipxe-config` flag: +``` +srvctl hosts ebm add \ + --location-id 2 \ + --server-model-id 10515 \ + --ram-size 32 \ + --private-uplink-id 10201 \ + --drive-slots 1=10306 \ + --layout=slot=0,raid=0 \ + --partition=slot=0,target=/,fs=ext4,size=1,fill=true \ + --ipxe-config "#!ipxe\nchain http://boot.example.com/script.ipxe" \ + +``` + +The same can be achieved via input file by setting the `ipxe_config` field: +```json +{ + "ipxe_config": "#!ipxe\nchain http://boot.example.com/script.ipxe" +} +```