From 7dfca572994c9bb82250d8d8f8c86d4e0619ce9b Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 23 Sep 2024 15:16:01 +0300 Subject: [PATCH] doc: quote wget URLs to avoid copy paste escapes Also makes the code `shellcheck`-compliant. Signed-off-by: Anatoli Babenia --- docs/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index d7e9e5b6113..cb9a7fee9ee 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -103,13 +103,13 @@ ARCH="$(uname -m)" latest=$(wget "http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/v1.10/x86_64/vmlinux-5.10&list-type=2" -O - 2>/dev/null | grep "(?<=)(firecracker-ci/v1.10/x86_64/vmlinux-5\.10\.[0-9]{3})(?=)" -o -P) # Download a linux kernel binary -wget https://s3.amazonaws.com/spec.ccfc.min/${latest} +wget "https://s3.amazonaws.com/spec.ccfc.min/${latest}" # Download a rootfs -wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.ext4 +wget "https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.ext4" # Download the ssh key for the rootfs -wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.id_rsa +wget "https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.id_rsa" # Set user read permission on the ssh key chmod 400 ./ubuntu-22.04.id_rsa