X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sliver_lxc.py;h=f1fe513e75c38accbec352a86a164160f2e1a0f2;hb=00f7db000e4126fe1cab0ad6b3244dbc5cc49250;hp=7fcef281c5d8d7b87e82928f3e6f8747ee10ac52;hpb=834827443f52ebcf42f37664781e95a86f5c654b;p=nodemanager.git diff --git a/sliver_lxc.py b/sliver_lxc.py index 7fcef28..f1fe513 100644 --- a/sliver_lxc.py +++ b/sliver_lxc.py @@ -133,9 +133,6 @@ class Sliver_LXC(Sliver_Libvirt, Initscript): command = ['mkdir', '%s/root/.ssh'%containerDir] logger.log_call(command, timeout=10) - command = ['chown', name, '%s/root/.ssh'%containerDir] - logger.log_call(command, timeout=10) - command = ['cp', '/home/%s/.ssh/id_rsa.pub'%name, '%s/root/.ssh/authorized_keys'%containerDir] logger.log_call(command, timeout=30)