Moved openstack env variables out of snapcraft.yaml, and into a "microtack.rc". Made openstack-wrapper, which auto sources microstack.rc. Key off of revised snap.openstack, which supports snapctl config values in templates. Moved a lot of the overlay into snap-overlay/templates, and added config values to them. Also writes templates just once, when you run snap-openstack setup. Change-Id: Ib0f2e3fc97f491d9ed9dfbafc61dc8e27a8a2b48
8 lines
68 B
Bash
Executable File
8 lines
68 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source $SNAP_COMMON/etc/microstack.rc
|
|
|
|
exec $@
|