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
2 changed files with 6 additions and 7 deletions
Showing only changes of commit abb2767e12 - Show all commits

View File

@ -132,9 +132,9 @@ func setupEnv() int {
firecracker.VMCommandBuilder{}.
WithBin("firecracker").
WithSocketPath(socketPath).
//WithStdin(os.Stdin).
//WithStdout(os.Stdout).
//WithStderr(os.Stderr).
WithStdin(os.Stdin).
WithStdout(os.Stdout).
WithStderr(os.Stderr).
Build(ctx),
),
firecracker.WithLogger(logrus.NewEntry(log)),

View File

@ -17,8 +17,7 @@ sudo mount $DISK_FILE $DISK_ROOT
wget -O ../out/alpine-minirootfs-3.19.0-x86_64.tar.gz https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/x86_64/alpine-minirootfs-3.19.0-x86_64.tar.gz
tar xvf ../out/alpine-minirootfs-3.19.0-x86_64.tar.gz --directory="$DISK_ROOT"
sudo tar xvf ../out/alpine-minirootfs-3.19.0-x86_64.tar.gz --directory="$DISK_ROOT"
#sudo umount $DISK_ROOT
#rmdir $DISK_ROOT
sudo umount $DISK_ROOT
rmdir $DISK_ROOT