Skip to content

Commit eda0526

Browse files
authored
fix(machine): Disable passthrough to allow sudo-less runs (#1946)
Reviewed-by: Alexander Jung <alex@unikraft.io> Approved-by: Alexander Jung <alex@unikraft.io>
2 parents f145484 + 7c3ba82 commit eda0526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machine/qemu/v1alpha1.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func (service *machineV1alpha1Service) Create(ctx context.Context, machine *mach
333333
mounttag := fmt.Sprintf("fs%d", i+1)
334334
qopts = append(qopts,
335335
WithFsDevice(QemuFsDevLocal{
336-
SecurityModel: QemuFsDevLocalSecurityModelPassthrough,
336+
SecurityModel: QemuFsDevLocalSecurityModelMappedXattr,
337337
Id: hvirtioid,
338338
Path: vol.Spec.Source,
339339
}),

0 commit comments

Comments
 (0)