Ignore:
Timestamp:
Oct 29, 2008, 12:10:12 AM (15 years ago)
Author:
broder
Message:

Small typo fixes in invirt-update-vnc-cert

Location:
trunk/packages/invirt-vnc-client/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-vnc-client/debian/changelog

    r1413 r1418  
     1invirt-vnc-client (0.0.5) unstable; urgency=low
     2
     3  * Small typo fixes in invirt-update-vnc-cert
     4
     5 -- Evan Broder <broder@mit.edu>  Wed, 29 Oct 2008 00:07:55 -0400
     6
    17invirt-vnc-client (0.0.4) unstable; urgency=low
    28
  • trunk/packages/invirt-vnc-client/debian/invirt-update-vnc-cert

    r1413 r1418  
    99
    1010def main():
    11     subprocess.call(['kinit', '-k', 'daemon/%s' % config.web.hostname])
     11    call(['kinit', '-k', 'daemon/%s' % config.web.hostname])
    1212   
    1313    temp_dir = tempfile.mkdtemp()
    1414    keystore = os.path.join(temp_dir, 'trust.store')
    1515    for host in config.hosts:
    16         cert = subprocess.Popen(['remctl', config.remote.hostname, 'web',
    17                                  'vnccert', host.hostname],
    18                                 stdout=PIPE)
     16        cert = Popen(['remctl', config.remote.hostname, 'web', 'vnccert', host.hostname],
     17                     stdout=PIPE)
    1918        cert.wait()
    20         subprocess.call(['keytool', '-import', '-noprompt', '-alias',
    21                          host.hostname, '-keystore', keystore, '-storepass',
    22                          'foobar'], stdin=cert.stdout)
     19        call(['keytool', '-import', '-noprompt', '-alias', host.hostname,
     20              '-keystore', keystore, '-storepass', 'foobar'],
     21             stdin=cert.stdout)
    2322   
    24     subprocess.call(['jar', 'uf', '/usr/share/invirt-vnc-client/VncViewer.jar',
    25                      '-C', temp_dir, 'trust.store'])
     23    call(['jar', 'uf', '/usr/share/invirt-vnc-client/VncViewer.jar',
     24          '-C', temp_dir, 'trust.store'])
    2625   
    2726    shutil.rmtree(temp_dir)
Note: See TracChangeset for help on using the changeset viewer.