forked from openstack/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsheepdog
More file actions
41 lines (29 loc) · 745 Bytes
/
Copy pathsheepdog
File metadata and controls
41 lines (29 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
#
# lib/cinder_plugins/sheepdog
# Configure the sheepdog driver
# Enable with:
#
# CINDER_DRIVER=sheepdog
# Dependencies:
#
# - ``functions`` file
# - ``cinder`` configurations
# configure_cinder_driver - make configuration changes, including those to other services
# Save trace setting
_XTRACE_CINDER_SHEEPDOG=$(set +o | grep xtrace)
set +o xtrace
# Defaults
# --------
# Set up default directories
# Entry Points
# ------------
# configure_cinder_driver - Set config files, create data dirs, etc
function configure_cinder_driver {
iniset $CINDER_CONF DEFAULT volume_driver "cinder.volume.drivers.sheepdog.SheepdogDriver"
}
# Restore xtrace
$_XTRACE_CINDER_SHEEPDOG
# Local variables:
# mode: shell-script
# End: