Changeset f8fa72b for fedkit/combo.pl


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/combo.pl

    rc119839 rf8fa72b  
    1818my $iface_file = "/var/emulab/boot/ifmap";
    1919my $ssh = "/usr/bin/ssh";
     20my $ssh_port = 22;
    2021my @ports;
    2122my $use_file;
     
    3233    'port=s' => \@ports,
    3334    'active' => \$active,
     35    'ssh_port=s' => \$ssh_port,
    3436    'use_file' => \$use_file,
    3537);
     
    3739exit(20) unless GetOptions(%opts);
    3840
    39 gateway_lib::read_config(gateway_lib::emulab_config_filename(), \%opts)
    40     if $use_file;
     41if ($use_file) {
     42    gateway_lib::read_config(gateway_lib::config_filename(), \%opts)
     43}
    4144
    4245my $tunnelparam = $tunnelip ? '--tunnelip' : '';
     
    5053        "--peer=$peer --ssh_pubkey=$ssh_pubkey --ssh_privkey=$ssh_privkey " .
    5154        " $tunnelparam --fedkit=$fedkit_dir --perl=$perl " .
    52         "--ssh=$ssh --interfaces=$iface_file");
     55        "--ssh_port=$ssh_port --ssh=$ssh --interfaces=$iface_file");
    5356    exit(20) if $?;
    5457
Note: See TracChangeset for help on using the changeset viewer.