Use container_file_t for Cinder*NfsMountOptions by default
This is so that share content is usable by cinder-volume and other containers mounting the same share. Closes-Bug: 1890291 Change-Id: Iacf7c9c368b26106e9921b35996c134aacb9acd7
This commit is contained in:
parent
b9722e1ac4
commit
c7ec726276
@ -83,7 +83,7 @@ parameters:
|
||||
default: '/etc/cinder/shares.conf'
|
||||
CinderNetappNfsMountOptions:
|
||||
type: string
|
||||
default: ''
|
||||
default: 'context=system_u:object_r:container_file_t:s0'
|
||||
CinderNetappCopyOffloadToolPath:
|
||||
type: string
|
||||
default: ''
|
||||
|
@ -79,7 +79,7 @@ parameters:
|
||||
description: NFS share to be mounted
|
||||
type: string
|
||||
CinderBackupNfsMountOptions:
|
||||
default: ''
|
||||
default: 'context=system_u:object_r:container_file_t:s0'
|
||||
description: Mount options passed to the NFS client. See NFS man
|
||||
page for details.
|
||||
type: string
|
||||
|
@ -99,7 +99,7 @@ parameters:
|
||||
When set, it overrides the default CinderStorageAvailabilityZone.
|
||||
type: string
|
||||
CinderNfsMountOptions:
|
||||
default: ''
|
||||
default: 'context=system_u:object_r:container_file_t:s0'
|
||||
description: >
|
||||
Mount options for NFS mounts used by Cinder NFS backend. Effective
|
||||
when CinderEnableNfsBackend is true.
|
||||
|
@ -20,7 +20,7 @@ parameter_defaults:
|
||||
CinderNetappPartnerBackendName: ''
|
||||
CinderNetappNfsShares: ''
|
||||
CinderNetappNfsSharesConfig: '/etc/cinder/shares.conf'
|
||||
CinderNetappNfsMountOptions: ''
|
||||
CinderNetappNfsMountOptions: 'context=system_u:object_r:container_file_t:s0'
|
||||
CinderNetappCopyOffloadToolPath: ''
|
||||
CinderNetappControllerIps: ''
|
||||
CinderNetappSaPassword: ''
|
||||
|
@ -34,7 +34,7 @@ parameter_defaults:
|
||||
#### CINDER NFS SETTINGS ####
|
||||
|
||||
## NFS mount options
|
||||
# CinderNfsMountOptions: ''
|
||||
# CinderNfsMountOptions: 'context=system_u:object_r:container_file_t:s0'
|
||||
## NFS mount point, e.g. '192.168.122.1:/export/cinder'
|
||||
# CinderNfsServers: ''
|
||||
|
||||
|
@ -44,7 +44,7 @@ parameter_defaults:
|
||||
|
||||
#
|
||||
# Type: string
|
||||
CinderNetappNfsMountOptions: ''
|
||||
CinderNetappNfsMountOptions: context=system_u:object_r:container_file_t:s0
|
||||
|
||||
#
|
||||
# Type: string
|
||||
|
@ -19,7 +19,7 @@ parameter_defaults:
|
||||
|
||||
# Mount options for NFS mounts used by Cinder NFS backend. Effective when CinderEnableNfsBackend is true.
|
||||
# Type: string
|
||||
CinderNfsMountOptions: ''
|
||||
CinderNfsMountOptions: context=system_u:object_r:container_file_t:s0
|
||||
|
||||
# NFS servers used by Cinder NFS backend. Effective when CinderEnableNfsBackend is true.
|
||||
# Type: comma_delimited_list
|
||||
|
@ -12,6 +12,7 @@ environments:
|
||||
sample_values:
|
||||
CinderEnableNfsBackend: True
|
||||
CinderEnableIscsiBackend: False
|
||||
CinderNfsMountOption: 'context=system_u:object_r:container_file_t:s0'
|
||||
CinderNfsServers: '192.168.122.1:/export/cinder'
|
||||
description: |
|
||||
Configure and include this environment to enable the use of an NFS
|
||||
|
Loading…
Reference in New Issue
Block a user