X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sliver_lxc.py;h=97374977ca687f15d83dc74184df5b1b38c0365e;hb=763594e4e2cfa905262cdd71ffaa263eebf5d851;hp=320c546fbbb4c37c2402f8dc266ce8c40ec8e263;hpb=1eccb35fa24dc6b7a8aa6a8922be2e776b8cc33e;p=nodemanager.git diff --git a/sliver_lxc.py b/sliver_lxc.py index 320c546..9737497 100644 --- a/sliver_lxc.py +++ b/sliver_lxc.py @@ -180,7 +180,7 @@ class Sliver_LXC(Sliver_Libvirt, Initscript): 'ssh-keygen -t rsa -N "" -f /home/{}/.ssh/id_rsa'.format(name)] logger.log_call(command) - command = ['chown', '-R', '{}.slices'.format(name), '/home/{}/.ssh'.format(name)] + command = ['chown', '-R', '{}:slices'.format(name), '/home/{}/.ssh'.format(name)] logger.log_call(command) command = ['mkdir', '{}/root/.ssh'.format(containerDir)]