Last change
on this file since 5722 was 5722, checked in by rick, 17 years ago |
Made the genesis configuration machine independed and documented how-to
install it
|
File size:
914 bytes
|
Rev | Line | |
---|
[5722] | 1 | #!/usr/bin/perl -
|
---|
[4746] | 2 | #
|
---|
| 3 | # Variable file
|
---|
| 4 |
|
---|
[5721] | 5 | $NG = 0;
|
---|
| 6 |
|
---|
[4746] | 7 | #debugging variable
|
---|
| 8 | $debug=0;
|
---|
| 9 |
|
---|
| 10 | #author credits
|
---|
| 11 | $author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005 rick\@WirelessLeiden.NL";
|
---|
| 12 |
|
---|
| 13 | #filelist
|
---|
| 14 | @filelist = ();
|
---|
| 15 | $filelist[0]="dhcpd.conf";
|
---|
[5721] | 16 | $filelist[1]="rc.node.local";
|
---|
| 17 | $filelist[2]="resolv.conf";
|
---|
| 18 | $filelist[3]="named.conf";
|
---|
| 19 | $filelist[4]="txtconfig";
|
---|
| 20 | $filelist[5]="authorized_keys";
|
---|
[4746] | 21 |
|
---|
[5230] | 22 | #Ignore this node diretories
|
---|
| 23 | %removefromnodelist = (
|
---|
| 24 | 'retired' => 'YES',
|
---|
| 25 | 'obsolete' => 'YES',
|
---|
| 26 | );
|
---|
| 27 |
|
---|
[4746] | 28 |
|
---|
| 29 |
|
---|
| 30 | #naming vars
|
---|
| 31 | $configfile="wleiden.conf";
|
---|
| 32 |
|
---|
| 33 | #module IP.pm
|
---|
[5721] | 34 | $IP_pmPath="$home/tools/IP.pm";
|
---|
[4746] | 35 |
|
---|
| 36 | #dnsheader.conf
|
---|
[5721] | 37 | $dnsheader_confPath="$home/dns/dnsheader.conf";
|
---|
[4746] | 38 |
|
---|
[5722] | 39 | #node dir
|
---|
| 40 | $ndir="$home/nodes";
|
---|
[4746] | 41 |
|
---|
[5722] | 42 | #wleiden.pl Path
|
---|
| 43 | $toolfile="$home/tools/FreeBSD6_x/wleiden.pl";
|
---|
| 44 |
|
---|
[4746] | 45 | ## ssh key variablen ##
|
---|
| 46 | #global ssh_keys
|
---|
[5721] | 47 | $global_keyPath="$home/nodes/global_keys";
|
---|
[4746] | 48 | #node specific
|
---|
| 49 | $ssh_file='ssh_key'
|
---|
| 50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.