Changeset f3691ff for fedkit/splitter.pl
- Timestamp:
- May 17, 2008 5:09:31 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 387408b
- Parents:
- 2396559e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/splitter.pl
r2396559e rf3691ff 9 9 use File::Copy; 10 10 11 my @scripts = ("fed_bootstrap", "federate.sh", "smbmount.pl", 12 "make_hosts", "fed-tun.pl", "fed_evrepeater" ); 11 my @scripts = ("fed_bootstrap", "federate.sh", "smbmount.FreeBSD.pl", 12 "smbmount.Linux.pl", "make_hosts", "fed-tun.pl", "fed_evrepeater", 13 "rc.accounts.patch"); 13 14 my $local_script_dir = "."; 14 15 my($pid, $gid); # Process and group IDs for calling parse.tcl … … 492 493 $project_user = $opts{'smbuser'} || # User to mount project dirs as 493 494 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'}; 495 496 496 497 # tcl program to split experiments (changed during devel) … … 574 575 # If this testbed has not had its access parameters read from fedd, try 575 576 # 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) { 577 578 my $access_pipe = new IO::Pipe || 578 579 die "Can't open pipe to fedd:$!\n"; 580 my $proj = $auth_proj ? " -p $auth_proj " : ""; 579 581 580 582 print("Checking access to $tb using " . $tbparams->{$tb}->{'uri'} … … 583 585 my $cmd = "$fedd_client -t " . 584 586 $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 "; 586 588 print "$cmd\n" if $verbose; 587 589
Note: See TracChangeset
for help on using the changeset viewer.