Skip to content

Commit 210cf6e

Browse files
committed
doc: update quickstart artifacts
Previously we had a separate set of artifacts for the quickstart guide. This increases maintenance burden. Instead, let's use our normal CI artifacts in the quickstart guide. Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 5fd501e commit 210cf6e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/getting-started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@ guide will not use the [`jailer`](../src/jailer/).
7070
ARCH="$(uname -m)"
7171

7272
# Download a linux kernel binary
73-
wget https://s3.amazonaws.com/spec.ccfc.min/img/quickstart_guide/${ARCH}/kernels/vmlinux.bin
73+
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.5/${ARCH}/vmlinux-5.10.186
7474

7575
# Download a rootfs
76-
wget https://s3.amazonaws.com/spec.ccfc.min/ci-artifacts/disks/${ARCH}/ubuntu-18.04.ext4
76+
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.5/${ARCH}/ubuntu-22.04.ext4
7777

7878
# Download the ssh key for the rootfs
79-
wget https://s3.amazonaws.com/spec.ccfc.min/ci-artifacts/disks/${ARCH}/ubuntu-18.04.id_rsa
79+
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.5/${ARCH}/ubuntu-22.04.id_rsa
8080

8181
# Set user read permission on the ssh key
82-
chmod 400 ./ubuntu-18.04.id_rsa
82+
chmod 400 ./ubuntu-22.04.id_rsa
8383

8484
# Clone the firecracker repository
8585
git clone https://github.com/firecracker-microvm/firecracker
@@ -147,7 +147,7 @@ curl -X PUT --unix-socket "${API_SOCKET}" \
147147
}" \
148148
"http://localhost/logger"
149149

150-
KERNEL="./vmlinux.bin"
150+
KERNEL="./vmlinux-5.10.186"
151151
KERNEL_BOOT_ARGS="console=ttyS0 reboot=k panic=1 pci=off"
152152

153153
ARCH=$(uname -m)
@@ -164,7 +164,7 @@ curl -X PUT --unix-socket "${API_SOCKET}" \
164164
}" \
165165
"http://localhost/boot-source"
166166

167-
ROOTFS="./ubuntu-18.04.ext4"
167+
ROOTFS="./ubuntu-22.04.ext4"
168168

169169
# Set rootfs
170170
curl -X PUT --unix-socket "${API_SOCKET}" \
@@ -206,7 +206,7 @@ curl -X PUT --unix-socket "${API_SOCKET}" \
206206
sleep 0.015s
207207

208208
# SSH into the microVM
209-
sudo ssh -i ./ubuntu-18.04.id_rsa 172.16.0.2
209+
ssh -i ./ubuntu-22.04.id_rsa root@172.16.0.2
210210

211211
# Use `root` for both the login and password.
212212
# Run `reboot` to exit.

0 commit comments

Comments
 (0)