Refactor cephfs element
DIB ignores a plain "install.d" directive silently currently, producing images without the packages we asked for. Use the "package-installs" approach to install element dependencies. No configuration is added at the moment, but may be required in the future. Also install the "fuse" package to get the ability to execute "fusermount" command. Change-Id: Ifbd7344b20940575348a856521539425b34a4279 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
parent
0f8e60eee5
commit
f75519fba5
@ -129,7 +129,7 @@ configure() {
|
||||
elif [ "$MANILA_SHARE_PROTO" = "zfs" ]; then
|
||||
OPTIONAL_ELEMENTS="$OPTIONAL_ELEMENTS ${MANILA_DISTRO}-zfs"
|
||||
elif [ "$MANILA_SHARE_PROTO" = "cephfs" ]; then
|
||||
OPTIONAL_ELEMENTS="$OPTIONAL_ELEMENTS ${MANILA_DISTRO}-cephfs"
|
||||
OPTIONAL_ELEMENTS="$OPTIONAL_ELEMENTS cephfs"
|
||||
fi
|
||||
|
||||
if [ "$USE_OFFLINE_MODE" = "yes" ]; then
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
install-packages ceph-common ceph-fuse crudini
|
5
elements/cephfs/README.rst
Normal file
5
elements/cephfs/README.rst
Normal file
@ -0,0 +1,5 @@
|
||||
======
|
||||
cephfs
|
||||
======
|
||||
|
||||
Installs all artifacts necessary for mounting cephfs file systems.
|
1
elements/cephfs/element-deps
Normal file
1
elements/cephfs/element-deps
Normal file
@ -0,0 +1 @@
|
||||
package-installs
|
4
elements/cephfs/package-installs.yaml
Normal file
4
elements/cephfs/package-installs.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
fuse:
|
||||
ceph-common:
|
||||
ceph-fuse:
|
||||
crudini:
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
install-packages ceph-common ceph-fuse crudini
|
Loading…
x
Reference in New Issue
Block a user