From aa447cdc80f1affd69fec5d14d07bc92e979b1cb Mon Sep 17 00:00:00 2001 From: Brenton Leanhardt Date: Wed, 9 Jul 2008 18:42:34 -0400 Subject: Proxying the cobbler requests through apache This keeps us from needed our hack to bind the rw api on all interfaces --- genome-bootstrap/lib/genome-bootstrap/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'genome-bootstrap/lib') diff --git a/genome-bootstrap/lib/genome-bootstrap/core.rb b/genome-bootstrap/lib/genome-bootstrap/core.rb index 44d70b6..6a5c6c6 100644 --- a/genome-bootstrap/lib/genome-bootstrap/core.rb +++ b/genome-bootstrap/lib/genome-bootstrap/core.rb @@ -30,7 +30,7 @@ module GenomeBootstrap @genomed = "http://#{@fqdn}/genome" @machine_types_url = @genomed + "/machine_types.html" - @cobblerd = XMLRPC::Client.new2("http://#{@fqdn}:25152") + @cobblerd = XMLRPC::Client.new2("http://#{@fqdn}/cobbler_api_rw") # TODO: figure out a way to pass these values in @token = @cobblerd.call2("login", "cobbler", "password")[1] -- cgit