mirror of
https://github.com/containers/podman.git
synced 2026-08-07 04:43:04 -04:00
Fix Mount Unit Option
Signed-off-by: Shion Tanaka <shtanaka@redhat.com>
This commit is contained in:
1 parent
536e0728f0
commit
0e64e107ba
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user