Changeset 8d4e4fb for fedkit/active_config.pl
- Timestamp:
- Feb 10, 2010 10:29:18 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- bbd0039
- Parents:
- b73cc45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/active_config.pl
rb73cc45 r8d4e4fb 15 15 my $fedkit_dir= "/usr/local/federation"; 16 16 my $perl = "/usr/bin/perl"; 17 my $iface_file ;17 my $iface_file = "/var/emulab/boot/ifmap"; 18 18 my $ssh = "/usr/bin/ssh"; 19 my $use_file; 19 20 20 exit(20) unless GetOptions(21 my %opts = ( 21 22 'ssh_pubkey=s' => \$ssh_pubkey, 22 23 'ssh_privkey=s' => \$ssh_privkey, … … 27 28 'interfaces=s' => \$iface_file, 28 29 'ssh=s' => \$ssh, 30 'use_file' => \$use_file, 29 31 ); 30 32 33 exit(20) unless GetOptions(%opts); 34 35 gateway_lib::read_config(gateway_lib::emulab_config_filename(), \%opts) 36 if $use_file; 31 37 32 38 my $tunnelparam = $tunnelip ? '--tunnelip' : ''; … … 109 115 connectivity information 110 116 117 =item B<use_file> 118 119 If given read additional parameters from the file in 120 /proj/I<project>/exp/I<experiment/tmp/I<hostname>.gw/conf where those are the 121 current testbed project and experiment and the hostname is before the first 122 dot. The file is option: value. 123 124 111 125 =back 112 126
Note: See TracChangeset
for help on using the changeset viewer.