Skip to content
Browse files

network - added base setup (firstboot) support

  • Loading branch information...
1 parent 97c2603 commit 75ec35caff8794e0d9680b730b3a2d478cbd3bdd @lslezak lslezak committed Apr 10, 2012
View
6 plugins/network/app/controllers/network_controller.rb
@@ -31,7 +31,7 @@ def index
@virtual = @ifcs.select{|k, i| i unless k.match("eth")}
respond_to do |format|
- format.html # show.html.erb
+ format.html # index.html.erb
format.json { render :json => @ifcs }
end
end
@@ -243,5 +243,9 @@ def destroy
ret = ifc.destroy
redirect_to :controller => "network", :action => "index"
end
+
+ def next_step
+ redirect_success
+ end
end
View
5 plugins/network/app/views/network/index.html.erb
@@ -126,6 +126,11 @@
<p><%= link_to _("New virtual interface"), {}, :id=>"iface_selection_link", :class=>"page_link" %></p>
</div>
+ <div class="navigation_link_container">
+ <p>
+ <%= link_to _("Next"), {:action => "next_step"}, :class => "button" if basesystem_in_process? %>
+ </p>
+ </div>
</div>
<div class="page">

0 comments on commit 75ec35c

Please sign in to comment.
Something went wrong with that request. Please try again.