From 274e4192f418765e6c3fd2007765f6495ac58e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Wed, 3 Apr 2024 11:00:21 +0200 Subject: [PATCH] fix: creating server doc is broken The head command would have returned the first 10 IDs. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75d85fe..277cc59 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Data (Ignition) will work as expected. ```shell # 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 # If you have, you can specify an Ignition config with `--user-data-from-file ignition-user.json`