Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down Expand Up @@ -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. |

2 changes: 1 addition & 1 deletion docs/srvctl-hosts-ebm-add/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
23 changes: 23 additions & 0 deletions docs/srvctl-hosts-ebm-add/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,26 @@ srvctl hosts ebm add \
--ipv6 \
<hostname>
```

#### 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" \
<hostname>
```

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"
}
```
Loading