Index: server/hosts/factory.py |
diff --git a/server/hosts/factory.py b/server/hosts/factory.py |
index 8e5ba66350c4d948d1927e66a41d68e4d4e3822b..f1a054f590823f1831e7336e1413ea0b92e2380d 100644 |
--- a/server/hosts/factory.py |
+++ b/server/hosts/factory.py |
@@ -68,6 +68,10 @@ def create_host( |
site_factory.postprocess_classes(classes, hostname, |
auto_monitor=auto_monitor, **args) |
truty
2010/11/23 20:07:26
These are sort of magical since they're injected b
|
+ args['user'] = ssh_user |
+ args['port'] = ssh_port |
+ args['password'] = ssh_pass |
+ |
# create a custom host class for this machine and return an instance of it |
host_class = type("%s_host" % hostname, tuple(classes), {}) |
host_instance = host_class(hostname, **args) |