File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -100,21 +100,23 @@ kernel image with a Ubuntu 24.04 rootfs from our CI:
100
100
``` bash
101
101
ARCH=" $( uname -m) "
102
102
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>)" )
103
+ latest=$( wget " http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/v1.11 /$ARCH /vmlinux-5.10&list-type=2" -O - 2> /dev/null | grep -oP " (?<=<Key>)(firecracker-ci/v1.11 /$ARCH /vmlinux-5\.10\.[0-9]{1,3})(?=</Key>)" )
104
104
105
105
# Download a linux kernel binary
106
106
wget " https://s3.amazonaws.com/spec.ccfc.min/${latest} "
107
107
108
108
# Download a rootfs
109
- wget -O ubuntu-24.04.squashfs.upstream " https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.10 /${ARCH} /ubuntu-24.04.squashfs"
109
+ wget -O ubuntu-24.04.squashfs.upstream " https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.11 /${ARCH} /ubuntu-24.04.squashfs"
110
110
111
111
# Create an ssh key for the rootfs
112
112
unsquashfs ubuntu-24.04.squashfs.upstream
113
113
ssh-keygen -f id_rsa -N " "
114
114
cp -v id_rsa.pub squashfs-root/root/.ssh/authorized_keys
115
115
mv -v id_rsa ./ubuntu-24.04.id_rsa
116
- # re-squash
117
- mksquashfs squashfs-root ubuntu-24.04.squashfs -all-root -noappend -comp zstd
116
+ # create ext4 filesystem image
117
+ sudo chown -R root:root squashfs-root
118
+ truncate -s 400M ubuntu-24.04.ext4
119
+ sudo mkfs.ext4 -d squashfs-root -F ubuntu-24.04.ext4
118
120
```
119
121
120
122
### Getting a Firecracker Binary
You can’t perform that action at this time.
0 commit comments