Add system from existing webmin server

At present I found if you add/scan for servers, it will add a new entry to the webmin servers list. However, I already use that system extensively for mass shell commands. There should be a check to see if theres a pre-existing server in the webmin server data, and use that rather making a new one.

Status: 
Closed (fixed)

Comments

Pre-existing servers should already be skipped when scanning. Or did it get added with a different IP or hostname?

They were the same IP and port.

Which specific menu item did you use to scan for systems?

New System -> Find Physical Systems.

Ok, thanks. I think I see the bug that causes this now, and will include a fix in the next release.

Yea I found it too.

server-manager-lib-funcs.pl line 597

my ($same) = grep { $_->{'host'} eq $server->{'host'} }

should probably be my ($same) = grep { $->{'host'} eq $server->{'host'} or $->{'ip'} eq $server->{'ip'}}

or similar syntax.

Automatically closed -- issue fixed for 2 weeks with no activity.