Skip to content

Commit 3435164

Browse files
committed
Try kernel image without pathing
Signed-off-by: Austin Vazquez <[email protected]>
1 parent e4a4261 commit 3435164

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/cmd/snapshotting/example_demo.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ func withNetworkInterface(networkInterface sdk.NetworkInterface) configOpt {
7171
}
7272

7373
func createNewConfig(socketPath string, opts ...configOpt) sdk.Config {
74-
dir, _ := os.Getwd()
75-
fmt.Println(dir)
76-
kernelImagePath := filepath.Join(dir, "vmlinux")
74+
const kernelImagePath = "vmlinux"
7775

7876
var vcpuCount int64 = 2
7977
var memSizeMib int64 = 256

0 commit comments

Comments
 (0)