Skip to content

Commit

Permalink
snapcraft/commands: Create microceph symlinks to /etc/ceph
Browse files Browse the repository at this point in the history
Signed-off-by: Max Asnaashari <[email protected]>
  • Loading branch information
masnax committed Sep 29, 2023
1 parent 60a3444 commit 4863877
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snapcraft/commands/daemon.start
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,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
else
ln -s /var/lib/snapd/hostfs/etc/ceph /etc/ceph
fi
Expand Down

0 comments on commit 4863877

Please sign in to comment.