Skip to content

Commit

Permalink
snapcraft/commands: Check for microceph interface dir in daemon.start
Browse files Browse the repository at this point in the history
Signed-off-by: Max Asnaashari <[email protected]>
  • Loading branch information
masnax committed Nov 30, 2023
1 parent 2e45c1e commit dd708ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft/commands/daemon.start
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ echo "==> Setting up ceph configuration"
if [ "${ceph_builtin:-"false"}" = "true" ]; then
mkdir -p "${SNAP_COMMON}/ceph"
ln -s "${SNAP_COMMON}/ceph" /etc/ceph
elif [ -e "/var/snap/microceph" ]; then
ln -s /var/snap/microceph/current/conf/ /etc/ceph
elif [ -d "${SNAP_DATA}/microceph" ]; then
ln -snf "${SNAP_DATA}/microceph/conf/" /etc/ceph
else
ln -s /var/lib/snapd/hostfs/etc/ceph /etc/ceph
fi
Expand Down

0 comments on commit dd708ad

Please sign in to comment.