Skip to content

Commit

Permalink
Fix firecracker image download
Browse files Browse the repository at this point in the history
Signed-off-by: Leonid Kondrashov <[email protected]>
  • Loading branch information
leokondrashov committed Jul 17, 2024
1 parent 472f4b5 commit a1a8d5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions bin/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ default-rootfs.img filter=lfs diff=lfs merge=lfs -text
grpcurl filter=lfs diff=lfs merge=lfs -text
containerd-shim-runsc-v1 filter=lfs diff=lfs merge=lfs -text
gvisor-containerd filter=lfs diff=lfs merge=lfs -text
vmlinux-5.10.186 filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions bin/vmlinux-5.10.186
Git LFS file not shown
4 changes: 2 additions & 2 deletions scripts/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func SetupFirecrackerContainerd() error {
return err
}

// kernel image
kernelImgPath, err := utils.DownloadToTmpDir(configs.VHive.FirecrackerKernelImgDownloadUrl)
// kernel image; better to download it from AWS S3 but it takes too much time on NTU network
kernelImgPath, err := utils.GetVHiveFilePath(path.Join(binsDir, "vmlinux-5.10.186"))
if !utils.CheckErrorWithMsg(err, "Failed to download kernel image!\n") {
return err
}
Expand Down

0 comments on commit a1a8d5d

Please sign in to comment.