feature/build-my-own-kernel-rootfs #1
@ -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)),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user