rootfs

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 3 Imported by: 0

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

Index

Constants

This section is empty.

Variables

View Source
var SSHSigner ssh.Signer

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL