From 8d1dcb1e0c6dd2eb42032de12b6e50718e1a9ecb Mon Sep 17 00:00:00 2001
From: Tom Barron <tpb@dyncloud.net>
Date: Tue, 8 Dec 2020 11:22:06 -0500
Subject: [PATCH] Updates to support in Ceph local.conf sample

to make user devstack deployment a bit easier.

Since snapshot_support is now on by default for Ceph
backends, enable it in the default share type extra
specs.

Also specify the SHARE_DRIVER so the manila devstack
plugin doesn't think we're running the generic driver
and try to install kernel NFS and samba servers.

Change-Id: I636a047cacba7c5960df15a99fc79a35a818f45d
---
 doc/source/contributor/samples/cephfs_local.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/source/contributor/samples/cephfs_local.conf b/doc/source/contributor/samples/cephfs_local.conf
index 97569d8276..12c8121ca6 100644
--- a/doc/source/contributor/samples/cephfs_local.conf
+++ b/doc/source/contributor/samples/cephfs_local.conf
@@ -34,9 +34,11 @@ MANILA_CEPH_DRIVER=cephfsnfs
 
 
 # CEPHFS backend options
+SHARE_DRIVER=manila.share.drivers.cephfs.driver.CephFSDriver
 MANILA_SERVICE_IMAGE_ENABLED=False
-MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=False'
+MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=True'
 MANILA_CONFIGURE_DEFAULT_TYPES=True
 
+
 # Required for mounting shares
 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST=True