Skip to content

Commit

Permalink
Merge pull request containers#21320 from tnk4on/fix-mount-unit-option
Browse files Browse the repository at this point in the history
Fix Mount Unit Option
  • Loading branch information
openshift-merge-bot[bot] committed Jan 23, 2024
2 parents fcac504 + 0e64e10 commit 37517d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/applehv/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ func generateSystemDFilesForVirtiofsMounts(mounts []machine.VirtIoFs) []ignition
mountUnit.Add("Mount", "What", "%s")
mountUnit.Add("Mount", "Where", "%s")
mountUnit.Add("Mount", "Type", "virtiofs")
mountUnit.Add("Mount", "Option", "defcontext=\"system_u:object_r:nfs_t:s0\"")
mountUnit.Add("Mount", "Options", "defcontext=\"system_u:object_r:nfs_t:s0\"")
mountUnit.Add("Install", "WantedBy", "multi-user.target")
mountUnitFile, err := mountUnit.ToString()
if err != nil {
Expand Down

0 comments on commit 37517d7

Please sign in to comment.