Changeset f8fa72b for fedkit/combo.pl
- Timestamp:
- Mar 5, 2010 3:26:09 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 444790d
- Parents:
- c119839
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/combo.pl
rc119839 rf8fa72b 18 18 my $iface_file = "/var/emulab/boot/ifmap"; 19 19 my $ssh = "/usr/bin/ssh"; 20 my $ssh_port = 22; 20 21 my @ports; 21 22 my $use_file; … … 32 33 'port=s' => \@ports, 33 34 'active' => \$active, 35 'ssh_port=s' => \$ssh_port, 34 36 'use_file' => \$use_file, 35 37 ); … … 37 39 exit(20) unless GetOptions(%opts); 38 40 39 gateway_lib::read_config(gateway_lib::emulab_config_filename(), \%opts) 40 if $use_file; 41 if ($use_file) { 42 gateway_lib::read_config(gateway_lib::config_filename(), \%opts) 43 } 41 44 42 45 my $tunnelparam = $tunnelip ? '--tunnelip' : ''; … … 50 53 "--peer=$peer --ssh_pubkey=$ssh_pubkey --ssh_privkey=$ssh_privkey " . 51 54 " $tunnelparam --fedkit=$fedkit_dir --perl=$perl " . 52 "--ssh =$ssh --interfaces=$iface_file");55 "--ssh_port=$ssh_port --ssh=$ssh --interfaces=$iface_file"); 53 56 exit(20) if $?; 54 57
Note: See TracChangeset
for help on using the changeset viewer.