Changeset 1418 for trunk/packages/invirt-vnc-client/debian
- Timestamp:
- Oct 29, 2008, 12:10:12 AM (16 years ago)
- Location:
- trunk/packages/invirt-vnc-client/debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-vnc-client/debian/changelog
r1413 r1418 1 invirt-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 1 7 invirt-vnc-client (0.0.4) unstable; urgency=low 2 8 -
trunk/packages/invirt-vnc-client/debian/invirt-update-vnc-cert
r1413 r1418 9 9 10 10 def main(): 11 subprocess.call(['kinit', '-k', 'daemon/%s' % config.web.hostname])11 call(['kinit', '-k', 'daemon/%s' % config.web.hostname]) 12 12 13 13 temp_dir = tempfile.mkdtemp() 14 14 keystore = os.path.join(temp_dir, 'trust.store') 15 15 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) 19 18 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) 23 22 24 subprocess.call(['jar', 'uf', '/usr/share/invirt-vnc-client/VncViewer.jar',25 23 call(['jar', 'uf', '/usr/share/invirt-vnc-client/VncViewer.jar', 24 '-C', temp_dir, 'trust.store']) 26 25 27 26 shutil.rmtree(temp_dir)
Note: See TracChangeset
for help on using the changeset viewer.