| Index: server/hosts/factory.py
|
| diff --git a/server/hosts/factory.py b/server/hosts/factory.py
|
| index f1a054f590823f1831e7336e1413ea0b92e2380d..7a2a724b72397afc993d94da71ad928a75aaf356 100644
|
| --- a/server/hosts/factory.py
|
| +++ b/server/hosts/factory.py
|
| @@ -68,9 +68,8 @@ def create_host(
|
| site_factory.postprocess_classes(classes, hostname,
|
| auto_monitor=auto_monitor, **args)
|
|
|
| - args['user'] = ssh_user
|
| - args['port'] = ssh_port
|
| - args['password'] = ssh_pass
|
| + hostname, args['user'], args['password'], args['port'] = \
|
| + server_utils.parse_machine(hostname, ssh_user, ssh_pass, ssh_port)
|
|
|
| # create a custom host class for this machine and return an instance of it
|
| host_class = type("%s_host" % hostname, tuple(classes), {})
|
|
|