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:
Goutham Pacha Ravi 2020-05-26 22:28:48 -07:00
parent 0f8e60eee5
commit f75519fba5
6 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -eu
install-packages ceph-common ceph-fuse crudini

View File

@ -0,0 +1,5 @@
======
cephfs
======
Installs all artifacts necessary for mounting cephfs file systems.

View File

@ -0,0 +1 @@
package-installs

View File

@ -0,0 +1,4 @@
fuse:
ceph-common:
ceph-fuse:
crudini:

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -eu
install-packages ceph-common ceph-fuse crudini