Skip to content

Commit

Permalink
Merge pull request #218 from mariux64/remove-isi-maps
Browse files Browse the repository at this point in the history
make-automaps: Remove isi2 special code
  • Loading branch information
donald authored Nov 22, 2021
2 parents da1c66b + 39abdeb commit ab2b5aa
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions make-automaps/make-automaps
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ sub parse_jbod_line {
return undef;
}

our %ISI_D=(eiapopeia=>'isi2-10g-01',enemenemuh=>'isi2-10g-02',simsalabimbambasaladusaladim=>'isi2-10g-03');
our @ISI_P=qw(galaxy ES-E14 solexadata04 solexawork30);
our %IGNORE=map{$_=>1} qw(ftpadm ftp ftpin wwwcmb postgresdata mysqldata kde qt xfce bigblast mzsqldb sge sge6-2 drvault),@ISI_P;
our %IGNORE=map{$_=>1} qw(ftpadm ftp ftpin wwwcmb postgresdata mysqldata kde qt xfce bigblast mzsqldb sge sge6-2 drvault);

sub parse_map_line {
my ($in,$source)=@_;
Expand Down Expand Up @@ -148,18 +146,6 @@ local9 :/amd/$hostname/S9/scratch
local10 :/amd/$hostname/S10/scratch
eof

######################################## /project

open O,'>>','/etc/automount/auto.project' or die "/etc/automount/auto.project: $!\n";

for my $p (@ISI_P) {
if (exists ($ISI_D{$hostname})) {
print O "$p $ISI_D{$hostname}:/ifs/project/$p\n";
} else {
print O "$p isi2-10g-06:/ifs/project/$p\n";
}
}

######################################## /package

open O,'>>','/etc/automount/auto.package' or die "/etc/automount/auto.package: $!\n";
Expand Down

0 comments on commit ab2b5aa

Please sign in to comment.