Commit ee719ddf authored by Antoine Catton's avatar Antoine Catton

Modify publish recipe in order to publish everything

parent 9fe7743a
......@@ -29,8 +29,11 @@ from slapos.recipe.librecipe import GenericSlapRecipe
class Recipe(GenericSlapRecipe):
def _install(self):
publish_dict = dict()
for k, v in self.options.iteritems():
if k.startswith('url'):
options = self.options.copy()
del options['recipe']
for k, v in options.iteritems():
if not k.startswith('slapos-'):
publish_dict[k] = v
self.setConnectionDict(publish_dict)
return []
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment