Fixing up glance policy json.
This commit is contained in:
parent
f630b152fa
commit
73ba7f5bea
@ -111,3 +111,4 @@ export EC2_SECRET_KEY=$DEMO_SECRET
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
|
@ -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):
|
||||
|
@ -98,7 +98,7 @@ fi
|
||||
"""
|
||||
|
||||
fh.write(extern_inc.strip())
|
||||
|
||||
_write_line("", fh)
|
||||
_write_line("", fh)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user