Permalink
Browse files

Updated to use hostname instead of eth0-hostname - now works with

cobbler 2.1
  • Loading branch information...
1 parent c57d65f commit 8fb68c2f0688438b8a1be89d2f243e35d7f5df30 @proffalken committed Aug 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistranoCobbler.rb
View
@@ -18,7 +18,7 @@ def get_servers
server_list = Array.new()
for server_name in servers do
ok, fqdn = @connection.call2('get_system_for_koan',server_name)
- server_list << fqdn['interfaces']['eth0']['hostname']
+ server_list << fqdn['hostname']
end
return server_list

0 comments on commit 8fb68c2

Please sign in to comment.