diff --git a/snapcraft/commands/daemon.start b/snapcraft/commands/daemon.start index 188a6f8c3..8622927bd 100755 --- a/snapcraft/commands/daemon.start +++ b/snapcraft/commands/daemon.start @@ -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