With snap packaging (see snapcraft.io) the package is installed into a
read-only squashfs filesystem, which includes the default config. For
example, $SNAP/etc/nova/nova.conf. To override the defaults, a separate
writable directory is used, and this directory is also unique to the snap.
For example, either $SNAP_COMMON/etc/nova/nova.conf, or
$SNAP_COMMON/etc/nova/nova.conf.d/ can be used to override config.
This patch adds these snap directories to the default config paths where
oslo looks for config.
Reviewed: https:/ /review. openstack. org/474212 /git.openstack. org/cgit/ openstack/ oslo.config/ commit/ ?id=21e70e28b30 15c1619dacfad8a 2218b09e8109ec
Committed: https:/
Submitter: Jenkins
Branch: master
commit 21e70e28b3015c1 619dacfad8a2218 b09e8109ec
Author: Corey Bryant <email address hidden>
Date: Wed Jun 14 09:57:23 2017 -0400
Add snap package paths to default config dirs
With snap packaging (see snapcraft.io) the package is installed into a nova/nova. conf. To override the defaults, a separate etc/nova/ nova.conf, or COMMON/ etc/nova/ nova.conf. d/ can be used to override config.
read-only squashfs filesystem, which includes the default config. For
example, $SNAP/etc/
writable directory is used, and this directory is also unique to the snap.
For example, either $SNAP_COMMON/
$SNAP_
This patch adds these snap directories to the default config paths where
oslo looks for config.
For more details on $SNAP and $SNAP_COMMON please refer to /snapcraft. io/docs/ reference/ env.
https:/
Change-Id: I83627e0f215382 aedc7b32163e030 3b39e8bccf8
Closes-Bug: 1696830