Ignore:
Timestamp:
Mar 5, 2010 3:26:09 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
444790d
Parents:
c119839
Message:

More ProtoGENI accomodation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/active_config.pl

    rc119839 rf8fa72b  
    1717my $iface_file = "/var/emulab/boot/ifmap";
    1818my $ssh = "/usr/bin/ssh";
    19 my $use_file;
     19my $ssh_port = 22;
    2020
    2121my %opts = (
     
    2828    'interfaces=s' => \$iface_file,
    2929    'ssh=s' => \$ssh,
     30    'ssh_port=s' => \$ssh_port,
    3031    'use_file' => \$use_file,
    3132);
     
    3334exit(20) unless GetOptions(%opts);
    3435
    35 gateway_lib::read_config(gateway_lib::emulab_config_filename(), \%opts)
     36gateway_lib::read_config(gateway_lib::config_filename(), \%opts)
    3637    if $use_file;
    3738
     
    5657            my ($iface, $addr) = ($1, $2);
    5758
    58             my $cmd = "$ssh -w $ifnum:$ifnum -o \"Tunnel ethernet\" " .
    59                 "-o \"StrictHostKeyChecking no\" -i $ssh_privkey " .
    60                 "$peer perl -I$fedkit_dir/lib $fedkit_dir/bin/setup_bridge.pl " .
    61                 "--tapno=$ifnum --dest=$addr &";
     59            my $cmd = "$ssh -w $ifnum:$ifnum -p $ssh_port " .
     60                "-o \"Tunnel ethernet\" -o \"StrictHostKeyChecking no\" " .
     61                "-i $ssh_privkey $peer perl -I$fedkit_dir/lib ".
     62                "$fedkit_dir/bin/setup_bridge.pl --tapno=$ifnum --dest=$addr &";
    6263            system($cmd);
    6364            die if $?;
Note: See TracChangeset for help on using the changeset viewer.