Add mount options to blockfile snapshotter

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-05-23 10:33:23 -07:00
parent 773874caea
commit 7beaa5e859
3 changed files with 27 additions and 4 deletions

View File

@@ -66,6 +66,8 @@ func setupSnapshotter(t *testing.T) ([]Opt, error) {
return []Opt{
WithScratchFile(scratch),
WithFSType("ext4"),
WithMountOptions([]string{"loop", "sync"}),
}, nil
}