mirror of
https://github.com/apricote/flatcar-packer-hcloud.git
synced 2026-01-13 21:31:02 +00:00
fix: creating server doc is broken
The head command would have returned the first 10 IDs.
This commit is contained in:
parent
93731565c0
commit
274e4192f4
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ Data (Ignition) will work as expected.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# Get ID of the most recent flatcar snapshot for x86
|
# Get ID of the most recent flatcar snapshot for x86
|
||||||
$ SNAPSHOT_ID=$(hcloud image list --type=snapshot --selector=os=flatcar --architecture=x86 -o=columns=id -o noheader --sort=created:desc | head)
|
$ SNAPSHOT_ID=$(hcloud image list --type=snapshot --selector=os=flatcar --architecture=x86 -o=columns=id -o noheader --sort=created:desc | head -n1)
|
||||||
|
|
||||||
# Create a new server
|
# Create a new server
|
||||||
# If you have, you can specify an Ignition config with `--user-data-from-file ignition-user.json`
|
# If you have, you can specify an Ignition config with `--user-data-from-file ignition-user.json`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue