~vila/ubuntuone-testing/usync-daemon

« back to all changes in this revision

Viewing changes to ubuntuone/client/syncdaemon/fabfile/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2012-09-04 08:14:01 UTC
  • Revision ID: vila+qa@canonical.com-20120904081401-a5nlsxpvfd3x8g20
Trying adding user creation/deletion for kvm but hit a wall: fabric needs to provide the sudo password and this conflicts with the need to redirect stdin to provide the password for the created user. The solution is probably to create password-less users and rely on ssh for password-less connections. The only user for which the password should be required should be created when setting up the machine itself and would only be able to execute commands that doesn't require any input. The kvm tests are failing and are disabled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    key_create,
20
20
    key_upload,
21
21
    )
 
22
from fabfile.kvm import (
 
23
    user_create,
 
24
    user_delete,
 
25
    )
22
26