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

Small typo fixes in invirt-update-vnc-cert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.