Changeset f3691ff for fedkit/splitter.pl


Ignore:
Timestamp:
May 17, 2008 5:09:31 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
387408b
Parents:
2396559e
Message:

checkpoint includes some ucb and some FC6 code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/splitter.pl

    r2396559e rf3691ff  
    99use File::Copy;
    1010
    11 my @scripts = ("fed_bootstrap", "federate.sh", "smbmount.pl",
    12     "make_hosts", "fed-tun.pl", "fed_evrepeater" );
     11my @scripts = ("fed_bootstrap", "federate.sh", "smbmount.FreeBSD.pl",
     12    "smbmount.Linux.pl", "make_hosts", "fed-tun.pl", "fed_evrepeater",
     13    "rc.accounts.patch");
    1314my $local_script_dir = ".";
    1415my($pid, $gid);                 # Process and group IDs for calling parse.tcl
     
    492493$project_user = $opts{'smbuser'} ||     # User to mount project dirs as
    493494    die "Must give an SMB user\n";
    494 $auth_proj = $opts{'P'} || die "Must give an authentication project (-P)\n";
     495$auth_proj = $opts{'P'};
    495496
    496497# tcl program to split experiments (changed during devel)
     
    574575        # If this testbed has not had its access parameters read from fedd, try
    575576        # to read them, if we have a way to talk to fedd
    576         unless ($tbparams->{$tb}->{'access'} && $fedd_client) {
     577        unless ($tbparams->{$tb}->{'access'} || !$fedd_client) {
    577578            my $access_pipe = new IO::Pipe ||
    578579                die "Can't open pipe to fedd:$!\n";
     580            my $proj = $auth_proj ? " -p $auth_proj " : "";
    579581
    580582            print("Checking access to $tb using " . $tbparams->{$tb}->{'uri'}
     
    583585            my $cmd = "$fedd_client -t " .
    584586                $tbparams->{$tb}->{'uri'} .  " -T $ENV{HOME}/cacert.pem ".
    585                 "-l $tb -p $auth_proj | /usr/bin/tee fedd.$tb ";
     587                "-l $tb $proj | /usr/bin/tee fedd.$tb ";
    586588            print "$cmd\n" if $verbose;
    587589
Note: See TracChangeset for help on using the changeset viewer.