Changeset 86a7bb8
- Timestamp:
- Mar 12, 2010 1:01:00 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 35a4c01
- Parents:
- 4e9719b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/proxy_protogeni_segment.py
r4e9719b r86a7bb8 334 334 ifconfig = "/sbin/ifconfig" 335 335 tar = "/bin/tar" 336 mkdir="/bin/mkdir" 336 337 337 338 for e in [ e for e in topo.elements if isinstance(e, topdl.Computer)]: … … 359 360 print >>script, "%s %s@%s:%s/%s ." % \ 360 361 (scp, user, host, stagingdir, base) 362 # Make sure that there's a directory there in which to 363 # untar. 364 print >>script, "%s -p %s" % (mkdir, l) 361 365 print >>script, \ 362 366 "%s -C %s -xzf %s" % (tar, l, base) … … 369 373 print >>script, "%s %s@%s:%s/%s ." % \ 370 374 (scp, user, host, stagingdir, s_base) 375 # Make sure that there's a directory there in which to 376 # untar. 377 print >>script, "%s -p %s" % (mkdir, s.install) 371 378 print >>script, \ 372 379 "%s -C %s -xzf %s" % (tar, s.install, s_base) … … 414 421 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) 415 422 # XXX: debug 416 # start routing on nodes417 print >>script, "sudo perl %s/bin/protogeni_routing.pl" % \418 fed_dir419 423 if e.get_attribute('startup'): 420 424 print >>script, "%s \\$USER '%s'" % \
Note: See TracChangeset
for help on using the changeset viewer.