git://git.onelab.eu
/
nodemanager-topo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix problem with adding CAP_NET_ADMIN to capabilities tag
[nodemanager-topo.git]
/
create-topo-attributes.py
diff --git
a/create-topo-attributes.py
b/create-topo-attributes.py
index
2fe6ee3
..
3ebe2ff
100755
(executable)
--- 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)