Commit committed....
Signed-off-by: RouxAntoine <antoinroux@hotmail.fr>
This commit is contained in:
parent
e961d456ec
commit
abb2767e12
@ -132,9 +132,9 @@ func setupEnv() int {
|
|||||||
firecracker.VMCommandBuilder{}.
|
firecracker.VMCommandBuilder{}.
|
||||||
WithBin("firecracker").
|
WithBin("firecracker").
|
||||||
WithSocketPath(socketPath).
|
WithSocketPath(socketPath).
|
||||||
//WithStdin(os.Stdin).
|
WithStdin(os.Stdin).
|
||||||
//WithStdout(os.Stdout).
|
WithStdout(os.Stdout).
|
||||||
//WithStderr(os.Stderr).
|
WithStderr(os.Stderr).
|
||||||
Build(ctx),
|
Build(ctx),
|
||||||
),
|
),
|
||||||
firecracker.WithLogger(logrus.NewEntry(log)),
|
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
|
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
|
||||||
#sudo umount $DISK_ROOT
|
rmdir $DISK_ROOT
|
||||||
#rmdir $DISK_ROOT
|
|
||||||
|
Loading…
Reference in New Issue
Block a user