64854af783
This commit sets the 'tripleo::glance::nfs_mount::edit_fstab' variable to false to prevent the glance_api to write to /etc/fstab and fail in the case we're using an NFS backend. This also updates the NFS mount option and mount point to align with the config from the puppet-tripleo module at: https://github.com/openstack/puppet-tripleo/blob/master/manifests/glance/nfs_mount.pp Change-Id: Ied27fac67d28b3104441ada469942a19e3c07a89 Closes-Bug: #1732928
35 lines
1.4 KiB
YAML
35 lines
1.4 KiB
YAML
# *******************************************************************
|
|
# This file was created automatically by the sample environment
|
|
# generator. Developers should use `tox -e genconfig` to update it.
|
|
# Users are recommended to make changes to a copy of the file instead
|
|
# of the original, if any customizations are needed.
|
|
# *******************************************************************
|
|
# title: Enable Glance NFS Backend
|
|
# description: |
|
|
# Configure and include this environment to enable the use of an NFS
|
|
# share as the backend for Glance.
|
|
parameter_defaults:
|
|
# NFS mount options for image storage (when GlanceNfsEnabled is true)
|
|
# Type: string
|
|
GlanceNfsOptions: _netdev,bg,intr,context=system_u:object_r:glance_var_lib_t:s0
|
|
|
|
# NFS share to mount for image storage (when GlanceNfsEnabled is true)
|
|
# Type: string
|
|
GlanceNfsShare: ''
|
|
|
|
# ******************************************************
|
|
# Static parameters - these are values that must be
|
|
# included in the environment but should not be changed.
|
|
# ******************************************************
|
|
# The short name of the Glance backend to use. Should be one of swift, rbd, cinder, or file
|
|
# Type: string
|
|
GlanceBackend: file
|
|
|
|
# When using GlanceBackend 'file', mount NFS share for image storage.
|
|
# Type: boolean
|
|
GlanceNfsEnabled: True
|
|
|
|
# *********************
|
|
# End static parameters
|
|
# *********************
|