Skip to content

Commit 181619a

Browse files
committed
doc: fix downloading kernel for ARM instances
Also fix for when the patch kernel version is <100. Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent c20e42e commit 181619a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ kernel image with a Ubuntu 24.04 rootfs from our CI:
100100
```bash
101101
ARCH="$(uname -m)"
102102

103-
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)
103+
latest=$(wget "http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/v1.10/$ARCH/vmlinux-5.10&list-type=2" -O - 2>/dev/null | grep -oP "(?<=<Key>)(firecracker-ci/v1.10/$ARCH/vmlinux-5\.10\.[0-9]{1,3})(?=</Key>)")
104104

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

0 commit comments

Comments
 (0)