diff --git a/conf/templates/keystone/keystone_init.sh.tpl b/conf/templates/keystone/keystone_init.sh.tpl index 3af5a432..336b25f3 100644 --- a/conf/templates/keystone/keystone_init.sh.tpl +++ b/conf/templates/keystone/keystone_init.sh.tpl @@ -111,3 +111,4 @@ export EC2_SECRET_KEY=$DEMO_SECRET EOF fi + diff --git a/devstack/components/glance.py b/devstack/components/glance.py index 7de18c2a..454b6a24 100644 --- a/devstack/components/glance.py +++ b/devstack/components/glance.py @@ -134,6 +134,10 @@ class GlanceInstaller(comp.PythonInstallComponent): (_, bottom) = self._get_source_config(REG_PASTE_CONF) combined = [top, "### Joined here on %s with file %s" % (date.rcf8222date(), REG_PASTE_CONF), bottom] return (fn, utils.joinlinesep(*combined)) + if config_fn == POLICY_JSON: + fn = sh.joinpths(self.cfgdir, POLICY_JSON) + contents = sh.load_file(fn) + return (fn, contents) return comp.PythonInstallComponent._get_source_config(self, config_fn) def _config_adjust(self, contents, name): diff --git a/devstack/env_rc.py b/devstack/env_rc.py index 6decfdbe..146227ef 100644 --- a/devstack/env_rc.py +++ b/devstack/env_rc.py @@ -98,7 +98,7 @@ fi """ fh.write(extern_inc.strip()) - + _write_line("", fh) _write_line("", fh)