mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 09:53:23 +00:00
Read $HOME/.clusterssh/clusters
Make sure the new location fo the clusters file is read
This commit is contained in:
parent
a0cb18da7b
commit
a6169dcacb
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ sub new {
|
||||||
sub get_clusters {
|
sub get_clusters {
|
||||||
my ( $self, @files ) = @_;
|
my ( $self, @files ) = @_;
|
||||||
|
|
||||||
for my $file ( '/etc/clusters', @files ) {
|
for my $file ( '/etc/clusters', $ENV{HOME}.'/.clusterssh/clusters',@files ) {
|
||||||
$self->debug(3, 'Loading in config from: ', $file);
|
$self->debug(3, 'Loading in config from: ', $file);
|
||||||
$self->read_cluster_file($file);
|
$self->read_cluster_file($file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue