~jibel/ubuntu-qa-tools/dl-ubuntu-test-iso_multisuffixes-images-support

« back to all changes in this revision

Viewing changes to vm-tools/uvt

  • Committer: Steve Beattie
  • Date: 2013-02-07 21:46:56 UTC
  • Revision ID: sbeattie@ubuntu.com-20130207214656-rayv0uy098zte015
Fix uvt cmd when the username in the guests is not the same as the
username on the host.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1285
1285
    ssh_command = ['ssh']
1286
1286
    if root:
1287
1287
        ssh_command += ['-l', 'root']
 
1288
    else:
 
1289
        ssh_command += ['-l', uvt_conf['vm_username']]
1288
1290
    if force_keys:
1289
1291
        ssh_command += ['-o', 'StrictHostKeyChecking=no']
1290
1292
    if interactive: