Skip to content

Commit

Permalink
[jjo] snap_cmd_wrapper: load admin.novarc if present
Browse files Browse the repository at this point in the history
  • Loading branch information
jjo committed Feb 25, 2017
1 parent 5ea1b9c commit 9fa6a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snap_cmd_wrapper
Expand Up @@ -4,4 +4,5 @@
: ${SNAP?} ${SNAP_DATA?}
# Copy only if not existing
cp -pn $SNAP/etc/prometheus/prometheus-openstack-exporter.yaml.example $SNAP_DATA/prometheus-openstack-exporter.yaml
test -r $SNAP_DATA/admin.novarc && . $SNAP_DATA/admin.novarc
exec $SNAP/bin/prometheus-openstack-exporter $SNAP_DATA/prometheus-openstack-exporter.yaml

0 comments on commit 9fa6a0a

Please sign in to comment.