From: Andy Bavier Date: Wed, 1 Jul 2009 21:09:59 +0000 (+0000) Subject: Fix problem with adding CAP_NET_ADMIN to capabilities tag X-Git-Url: http://git.onelab.eu/?p=nodemanager-topo.git;a=commitdiff_plain;h=bef392f1b40b2be31ec1d631dbc20f01cc2e80af Fix problem with adding CAP_NET_ADMIN to capabilities tag --- diff --git a/create-topo-attributes.py b/create-topo-attributes.py index 2fe6ee3..3ebe2ff 100755 --- a/create-topo-attributes.py +++ b/create-topo-attributes.py @@ -167,7 +167,7 @@ class Slice: if cap == "CAP_NET_ADMIN": return else: - newcaps = "CAP_NET_ADMIN," + caps + newcaps = "CAP_NET_ADMIN," + tag.value self.update_tag('capabilities', newcaps, slicetags) else: self.add_tag('capabilities', 'CAP_NET_ADMIN', slicetags)