Changeset 8e6fe4d for fedd/federation/proxy_protogeni_segment.py
- Timestamp:
- Mar 5, 2010 4:58:48 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- c5b28bf
- Parents:
- 444790d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/proxy_protogeni_segment.py
r444790d r8e6fe4d 80 80 # interfaces in 'interfaces'. I love having XML parser code lying around. 81 81 def manifest_to_dict(self, manifest): 82 # XXX 83 # if self.debug: return { } 82 if self.debug: return { } 84 83 85 84 # The class allows us to keep a little state - the dict under … … 202 201 print >>script, \ 203 202 "%s -C %s -xzf %s" % (tar, s.install, s_base) 204 for f in ('hosts', pubkey, secretkey): 203 for f in ('hosts', pubkey, secretkey, 'client.conf', 204 'userconf', 'seer.conf'): 205 205 print >>script, "%s %s@%s:%s/%s %s/etc" % \ 206 206 (scp, user, host, stagingdir, f, fed_dir) … … 215 215 (scp, user, host, stagingdir, vname, fed_dir) 216 216 217 217 218 # Start commands 218 219 if e.get_attribute('portal') and gate_cmd: … … 220 221 print >>script, gate_cmd 221 222 elif node_cmd: 223 # XXX: debug 224 print >>script, "sudo perl -I%s/lib %s/bin/import_key.pl /users/%s/.ssh/authorized_keys /root/.ssh/authorized_keys" % (fed_dir, fed_dir, user) 225 # XXX: debug 222 226 if e.get_attribute('startup'): 223 227 print >>script, "%s \\$USER '%s'" % \
Note: See TracChangeset
for help on using the changeset viewer.