Skip to content

Commit 7dfca57

Browse files
abitrollypb8o
authored andcommitted
doc: quote wget URLs to avoid copy paste escapes
Also makes the code `shellcheck`-compliant. Signed-off-by: Anatoli Babenia <[email protected]>
1 parent 3acf37d commit 7dfca57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ ARCH="$(uname -m)"
103103
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 "(?<=<Key>)(firecracker-ci/v1.10/x86_64/vmlinux-5\.10\.[0-9]{3})(?=</Key>)" -o -P)
104104

105105
# Download a linux kernel binary
106-
wget https://s3.amazonaws.com/spec.ccfc.min/${latest}
106+
wget "https://s3.amazonaws.com/spec.ccfc.min/${latest}"
107107

108108
# Download a rootfs
109-
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.ext4
109+
wget "https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.ext4"
110110

111111
# Download the ssh key for the rootfs
112-
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.id_rsa
112+
wget "https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10/${ARCH}/ubuntu-22.04.id_rsa"
113113

114114
# Set user read permission on the ssh key
115115
chmod 400 ./ubuntu-22.04.id_rsa

0 commit comments

Comments
 (0)