Skip to content

Commit

Permalink
fix(machine): Disable passthrough to allow sudo-less runs (#1946)
Browse files Browse the repository at this point in the history
Reviewed-by: Alexander Jung <[email protected]>
Approved-by: Alexander Jung <[email protected]>
  • Loading branch information
nderjung authored Nov 12, 2024
2 parents f145484 + 7c3ba82 commit eda0526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine/qemu/v1alpha1.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func (service *machineV1alpha1Service) Create(ctx context.Context, machine *mach
mounttag := fmt.Sprintf("fs%d", i+1)
qopts = append(qopts,
WithFsDevice(QemuFsDevLocal{
SecurityModel: QemuFsDevLocalSecurityModelPassthrough,
SecurityModel: QemuFsDevLocalSecurityModelMappedXattr,
Id: hvirtioid,
Path: vol.Spec.Source,
}),
Expand Down

0 comments on commit eda0526

Please sign in to comment.