feature/build-my-own-kernel-rootfs #1
@ -93,14 +93,14 @@ func setupEnv() int {
|
|||||||
|
|
||||||
cfg := firecracker.Config{
|
cfg := firecracker.Config{
|
||||||
SocketPath: socketPath,
|
SocketPath: socketPath,
|
||||||
KernelImagePath: "./out/vmlinux-5.10.204",
|
KernelImagePath: "./vmlinux-5.10.204",
|
||||||
LogPath: "./out/firecracker.log",
|
LogPath: "./firecracker.log",
|
||||||
LogLevel: "Debug",
|
LogLevel: "Debug",
|
||||||
KernelArgs: "console=ttyS0 reboot=k panic=1 pci=off",
|
KernelArgs: "console=ttyS0 reboot=k panic=1 pci=off",
|
||||||
Drives: []models.Drive{
|
Drives: []models.Drive{
|
||||||
{
|
{
|
||||||
DriveID: firecracker.String("rootfs"),
|
DriveID: firecracker.String("rootfs"),
|
||||||
PathOnHost: firecracker.String("./out/rootfs.ext4"),
|
PathOnHost: firecracker.String("./rootfs.ext4"),
|
||||||
IsReadOnly: firecracker.Bool(false),
|
IsReadOnly: firecracker.Bool(false),
|
||||||
IsRootDevice: firecracker.Bool(true),
|
IsRootDevice: firecracker.Bool(true),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user