Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kelly committed Oct 8, 2010
1 parent d276e13 commit ba09fed
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 515 deletions.
4 changes: 4 additions & 0 deletions app/views/hosts/_unattended.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<td>Domain</td>
<td><%= f.collection_select :domain_id, Domain.all, :id, :to_label %></td>
<td>Subnet</td>
<% if sn = Subnet.first.dhcp; DHCP.cache_server @dhcp_servers, @dhcp, @user_data, dhcp; end -%>
<td><%= f.collection_select :subnet_id, Subnet.all, :id, :to_label %></td>
<td>IP</td>
<td><%= f.text_field :ip, :size => 16 %></td>
Expand Down Expand Up @@ -48,6 +49,9 @@
<% end -%>

<% end -%>
<%= observe_field(:host_subnet_id,
:url => { :action => :subnet_selected, :id => @host.id },
:with => :subnet_id)%>

<%= observe_field(:host_architecture_id,
:url => { :action => :architecture_selected, :id => @host.id },
Expand Down
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#require_dependency File.join(File.dirname(__FILE__), "..", "..", "..", "config", "initializers", "foreman")
require 'netdb_manager'
require_dependency 'netdb_manager'
ActiveSupport::Dependencies.load_once_paths.delete lib_path
281 changes: 0 additions & 281 deletions lib/dhcp.rb

This file was deleted.

Loading

0 comments on commit ba09fed

Please sign in to comment.