git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change btrfs subvolume default permissions for the guest FS to 755 instead of
[nodemanager.git]
/
sliver_lxc.py
diff --git
a/sliver_lxc.py
b/sliver_lxc.py
index
4eb5229
..
1b64f34
100644
(file)
--- a/
sliver_lxc.py
+++ b/
sliver_lxc.py
@@
-52,6
+52,8
@@
class Sliver_LXC(lv.Sliver_Libvirt):
# subvolume)
command = ['btrfs', 'subvolume', 'snapshot', refImgDir, containerDir]
logger.log_call(command, timeout=15*60)
+ command = ['chmod', '755', containerDir]
+ logger.log_call(command, timeout=15*60)
# TODO: set quotas...