Skip to content

Commit 00468c1

Browse files
author
av
committed
adding docs for ipxe
1 parent 244d54a commit 00468c1

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

docs/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
| [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. |
1818
| [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. |
1919
| [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. |
20+
| [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. |
2021
| [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. |
2122
| [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. |
2223
| [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 @@
143144
| [srvctl server-models](srvctl-server-models/description.md) | Server Models | This command allows to manage server models. |
144145
| [srvctl server-models list](srvctl-server-models-list/description.md) | Server Models | This command lists server models for the specified location. |
145146
| [srvctl server-models get](srvctl-server-models-get/description.md) | Server Models | This command provides information for the selected server model. |
147+
| [srvctl rbs](srvctl-rbs/description.md) | Remote Block Storage | This command allows to manage remote block storage volumes. |
148+
| [srvctl rbs list](srvctl-rbs-list/description.md) | Remote Block Storage | This command lists remote block storage volumes of the account. |
149+
| [srvctl rbs get](srvctl-rbs-get/description.md) | Remote Block Storage | This command provides information for the selected remote block storage volume. |
150+
| [srvctl rbs add](srvctl-rbs-add/description.md) | Remote Block Storage | A command to create a new remote block storage volume. |
151+
| [srvctl rbs update](srvctl-rbs-update/description.md) | Remote Block Storage | This command updates parameters and labels for the selected remote block storage volume. |
152+
| [srvctl rbs delete](srvctl-rbs-delete/description.md) | Remote Block Storage | This command deletes the selected remote block storage volume. |
153+
| [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. |
154+
| [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. |
146155

docs/srvctl-hosts-ebm-add/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ A command to create a enterprise bare metal server. It allows to pass parameters
22

33
- 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 -`
44

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

docs/srvctl-hosts-ebm-add/examples.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,26 @@ srvctl hosts ebm add \
9696
--ipv6 \
9797
<hostname>
9898
```
99+
100+
#### Create server with an iPXE boot script
101+
102+
Pass an inline iPXE script via the `--ipxe-config` flag:
103+
```
104+
srvctl hosts ebm add \
105+
--location-id 2 \
106+
--server-model-id 10515 \
107+
--ram-size 32 \
108+
--private-uplink-id 10201 \
109+
--drive-slots 1=10306 \
110+
--layout=slot=0,raid=0 \
111+
--partition=slot=0,target=/,fs=ext4,size=1,fill=true \
112+
--ipxe-config "#!ipxe\nchain http://boot.example.com/script.ipxe" \
113+
<hostname>
114+
```
115+
116+
The same can be achieved via input file by setting the `ipxe_config` field:
117+
```json
118+
{
119+
"ipxe_config": "#!ipxe\nchain http://boot.example.com/script.ipxe"
120+
}
121+
```

0 commit comments

Comments
 (0)