git://git.onelab.eu
/
nodemanager-topo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69c556
)
Fix problem with adding CAP_NET_ADMIN to capabilities tag
author
Andy Bavier
<acb@cs.princeton.edu>
Wed, 1 Jul 2009 21:09:59 +0000
(21:09 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Wed, 1 Jul 2009 21:09:59 +0000
(21:09 +0000)
create-topo-attributes.py
patch
|
blob
|
history
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)