Skip to content

Commit 629aff2

Browse files
authored
Merge branch 'main' into drop_snapshot_forward_compatibility
2 parents 87f0d81 + d0aca48 commit 629aff2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/getting-started.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ with a Ubuntu 22.04 rootfs from our CI:
7676
ARCH="$(uname -m)"
7777

7878
# Download a linux kernel binary
79-
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.6/${ARCH}/vmlinux-5.10.197
79+
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.6/${ARCH}/vmlinux-5.10.198
8080

8181
# Download a rootfs
8282
wget https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.6/${ARCH}/ubuntu-22.04.ext4
@@ -115,7 +115,7 @@ To instead build firecracker from source, you will need to have `docker` install
115115
ARCH="$(uname -m)"
116116

117117
# Clone the firecracker repository
118-
git clone https://github.com/firecracker-microvm/firecracker
118+
git clone https://github.com/firecracker-microvm/firecracker firecracker_src
119119

120120
# Start docker
121121
sudo systemctl start docker
@@ -127,10 +127,10 @@ sudo systemctl start docker
127127
# This will produce the firecracker and jailer binaries under
128128
# `./firecracker/build/cargo_target/${toolchain}/debug`.
129129
#
130-
sudo ./firecracker/tools/devtool build
130+
sudo ./firecracker_src/tools/devtool build
131131

132132
# Rename the binary to "firecracker"
133-
mv ./firecracker/build/cargo_target/${ARCH}-unknown-linux-musl/debug/firecracker firecracker
133+
sudo cp ./firecracker_src/build/cargo_target/${ARCH}-unknown-linux-musl/debug/firecracker firecracker
134134
```
135135

136136
### Starting Firecracker
@@ -143,11 +143,10 @@ process via HTTP requests:
143143
API_SOCKET="/tmp/firecracker.socket"
144144

145145
# Remove API unix socket
146-
rm -f $API_SOCKET
146+
sudo rm -f $API_SOCKET
147147

148148
# Run firecracker
149-
./firecracker/build/cargo_target/${ARCH}-unknown-linux-musl/debug/firecracker \
150-
--api-sock "${API_SOCKET}"
149+
sudo ./firecracker --api-sock "${API_SOCKET}"
151150
```
152151

153152
In a new terminal (do not close the 1st one):
@@ -191,7 +190,7 @@ curl -X PUT --unix-socket "${API_SOCKET}" \
191190
}" \
192191
"http://localhost/logger"
193192

194-
KERNEL="./vmlinux-5.10.186"
193+
KERNEL="./vmlinux-5.10.198"
195194
KERNEL_BOOT_ARGS="console=ttyS0 reboot=k panic=1 pci=off"
196195

197196
ARCH=$(uname -m)

0 commit comments

Comments
 (0)