feature/build-my-own-kernel-rootfs #1

Merged
antoine merged 34 commits from feature/build-my-own-kernel-rootfs into main 2024-01-06 13:25:49 +00:00
Showing only changes of commit 8f8fdefd74 - Show all commits

View File

@ -93,14 +93,14 @@ func setupEnv() int {
cfg := firecracker.Config{
SocketPath: socketPath,
KernelImagePath: "./out/vmlinux-5.10.204",
LogPath: "./out/firecracker.log",
KernelImagePath: "./vmlinux-5.10.204",
LogPath: "./firecracker.log",
LogLevel: "Debug",
KernelArgs: "console=ttyS0 reboot=k panic=1 pci=off",
Drives: []models.Drive{
{
DriveID: firecracker.String("rootfs"),
PathOnHost: firecracker.String("./out/rootfs.ext4"),
PathOnHost: firecracker.String("./rootfs.ext4"),
IsReadOnly: firecracker.Bool(false),
IsRootDevice: firecracker.Bool(true),
},