package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Oct 25, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Firecracker RootFS and Kernel
Kernel
To build a Kernel supported by Firecracker, follow the guide and configurations.
Use make vmlinux -j$(nproc)
can accelerate the building process.
RootFS
bash build-jammy.sh
Network
Please refer to setup-tuntap.sh
.
Boot a VM
After configure a TAP device following the official doc, run:
firectl --kernel ./vmlinux-5.10.bin --root-drive ./jammy.rootfs.ext4 --kernel-opts 'ro console=ttyS0 noapic reboot=k panic=1 pci=off nomodules ip=172.18.0.2::172.18.0.1:255.255.255.0::eth0:off' --tap-device 'tap0/AA:FC:00:00:00:01'
Note the ip
parameter may need be tweak per your local network configuration.
References
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.