Changeset 86a7bb8


Ignore:
Timestamp:
Mar 12, 2010 1:01:00 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
35a4c01
Parents:
4e9719b
Message:

Use the more general fedkit routing setup and make sure that installed tarballs have a place to go.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/proxy_protogeni_segment.py

    r4e9719b r86a7bb8  
    334334        ifconfig = "/sbin/ifconfig"
    335335        tar = "/bin/tar"
     336        mkdir="/bin/mkdir"
    336337
    337338        for e in [ e for e in topo.elements if isinstance(e, topdl.Computer)]:
     
    359360                    print >>script, "%s %s@%s:%s/%s ." % \
    360361                            (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)
    361365                    print >>script, \
    362366                            "%s -C %s -xzf %s" % (tar, l, base)
     
    369373                    print >>script, "%s %s@%s:%s/%s ." % \
    370374                            (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)
    371378                    print >>script, \
    372379                            "%s -C %s -xzf %s" % (tar, s.install, s_base)
     
    414421                    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)
    415422                    # XXX: debug
    416                     # start routing on nodes
    417                     print >>script, "sudo perl %s/bin/protogeni_routing.pl" % \
    418                             fed_dir
    419423                    if e.get_attribute('startup'):
    420424                        print >>script, "%s \\$USER '%s'" % \
Note: See TracChangeset for help on using the changeset viewer.