Skip to content

Commit e9a66e0

Browse files
committed
optimized readme
1 parent 32f554f commit e9a66e0

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
| `server_type` | | Name of the Server type this Server should be created with. | `cx22` (Intel x86, 2 vCPU, 4GB RAM, 40GB SSD) |
163163
| `server_wait` | | Wait up to `server_wait` retries (10 sec each) for the Hetzner Cloud Server to start. | `30` (5 min) |
164164
| `ssh_key` | | SSH key ID (integer) which should be injected into the Server at creation time. | `null` |
165-
| `volume` | | Volume ID (integer) which should be attached to the Server at the creation time. Volume must be in the same Location. | `null` |
165+
| `volume` | | Specify a Volume ID (integer) to attach and mount to the Server during creation. The volume will be automatically mounted at `/mnt/HC_Volume_[VOLUME-ID]`. The volume must be in the same location as the Server. More details in [Volumes section](#Volumes). | `null` |
166166

167167
## Outputs
168168

@@ -175,6 +175,8 @@ jobs:
175175

176176
The following `hcloud` CLI commands can help you find the required input values.
177177

178+
### Locations
179+
178180
**List Locations:**
179181

180182
```bash
@@ -191,6 +193,8 @@ nbg1 Nuremberg DC Park 1 eu-central DE Nuremberg
191193
sin Singapore ap-southeast SG Singapore
192194
```
193195

196+
### Server Types
197+
194198
**List Server Types:**
195199

196200
```bash
@@ -220,6 +224,8 @@ cx42 8 shared x86 16.0 GB 160 GB
220224
cx52 16 shared x86 32.0 GB 320 GB
221225
```
222226

227+
### Images
228+
223229
**List x86_64 Images:**
224230

225231
```bash
@@ -274,24 +280,30 @@ Tip: Create custom images with HashiCorp [Packer](https://github.com/hetznerclou
274280
hcloud image list --output "columns=ID,DESCRIPTION,ARCHITECTURE,DISK_SIZE" --type "snapshot" --sort "name"
275281
```
276282

277-
**List Primary IPs:**
283+
### Network
284+
285+
**List Networks:**
278286

279287
```bash
280-
hcloud primary-ip list --output "columns=ID,TYPE,NAME,IP,ASSIGNEE"
288+
hcloud network list --output "columns=ID,NAME,IP_RANGE,SERVERS"
281289
```
282290

283-
**List Networks:**
291+
**List Primary IPs:**
284292

285293
```bash
286-
hcloud network list --output "columns=ID,NAME,IP_RANGE,SERVERS"
294+
hcloud primary-ip list --output "columns=ID,TYPE,NAME,IP,ASSIGNEE"
287295
```
288296

297+
### SSH
298+
289299
**List SSH Keys:**
290300

291301
```bash
292302
hcloud ssh-key list --output "columns=ID,NAME"
293303
```
294304

305+
### Volumes
306+
295307
**List Volumes:**
296308

297309
```bash

0 commit comments

Comments
 (0)