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 ...@@ -29,8 +29,11 @@ from slapos.recipe.librecipe import GenericSlapRecipe
class Recipe(GenericSlapRecipe): class Recipe(GenericSlapRecipe):
def _install(self): def _install(self):
publish_dict = dict() publish_dict = dict()
for k, v in self.options.iteritems(): options = self.options.copy()
if k.startswith('url'): del options['recipe']
for k, v in options.iteritems():
if not k.startswith('slapos-'):
publish_dict[k] = v publish_dict[k] = v
self.setConnectionDict(publish_dict) self.setConnectionDict(publish_dict)
return [] 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