Displaying 8 results from an estimated 8 matches for "provisioning_opt".
2010 Feb 25
2
[PATCH] Enhance vms display
...ot;, {:style=>"width:250px;"} %>
- <%= text_field_with_label "UUID:", "vm", "uuid", {:style=>"width:250px;"} %>
- <%= select_with_label "Operating System:", 'vm', 'provisioning_and_boot_settings', @provisioning_options, :style=>"width:250px;" %>
+ <%= text_field_with_label "Name:", "vm", "description" %>
+ <%= text_field_with_label "UUID:", "vm", "uuid" %>
+ <%= select_with_label "Provisioning:", ...
2009 Jun 19
0
[PATCH server] add toggable sections to vm form
...ot;, {:style=>"width:250px;"} %>
- <%= text_field_with_label "UUID:", "vm", "uuid", {:style=>"width:250px;"} %>
- <%= select_with_label "Operating System:", 'vm', 'provisioning_and_boot_settings', @provisioning_options, :style=>"width:250px;" %>
- <% if controller.action_name == "edit" %><b style="color: #FF0000">*Warning* Editing provision could overwrite vm</b><% end %>
- <div class="clear_row" style="height:15px;">&...
2010 Sep 01
1
[PATCH 1/3] Adding the VM Pool migration for vms
....find(params[:vm][:vm_resource_pool_id])
+ @vm.update_attribute(:vm_resource_pool, @vm_pool)
+ render :json => { :object => "vm", :success => true,
+ :alert => "VM Pool changed for this Virtual Machine" }
+ end
+
protected
def _setup_provisioning_options
@provisioning_options = [[Vm::PXE_OPTION_LABEL, Vm::PXE_OPTION_VALUE],
diff --git a/src/app/views/vm/edit_vmpool.rhtml b/src/app/views/vm/edit_vmpool.rhtml
new file mode 100644
index 0000000..cfa29a7
--- /dev/null
+++ b/src/app/views/vm/edit_vmpool.rhtml
@@ -0,0 +1,36 @@
+<%- content_fo...
2010 Sep 02
1
[PATCH 1/1] Introduce an option to always pxe-boot a vm.
...diff --git a/src/app/controllers/vm_controller.rb b/src/app/controllers/vm_controller.rb
index 88e13ab..8e99b67 100644
--- a/src/app/controllers/vm_controller.rb
+++ b/src/app/controllers/vm_controller.rb
@@ -154,6 +154,7 @@ class VmController < ApplicationController
protected
def _setup_provisioning_options
@provisioning_options = [[Vm::PXE_OPTION_LABEL, Vm::PXE_OPTION_VALUE],
+ [Vm::PXE_ALWAYS_OPTION_LABEL, Vm::PXE_ALWAYS_OPTION_VALUE],
[Vm::HD_OPTION_LABEL, Vm::HD_OPTION_VALUE]]
begin
diff --git a/src/app/models/vm.rb b/src/ap...
2009 Jul 24
2
[PATCH server] add collapsable sections to vm form
...ot;, {:style=>"width:250px;"} %>
<%= text_field_with_label "UUID:", "vm", "uuid", {:style=>"width:250px;"} %>
<%= select_with_label "Operating System:", 'vm', 'provisioning_and_boot_settings', @provisioning_options, :style=>"width:250px;" %>
<% if controller.action_name == "edit" %><b style="color: #FF0000">*Warning* Editing provision could overwrite vm</b><% end %>
+
<div class="clear_row" style="height:15px;">...
2010 Aug 25
0
[PATCH] Adding the VM Pool migration for vms
....find(params[:vm][:vm_resource_pool_id])
+ @vm.update_attribute(:vm_resource_pool, @vm_pool)
+ render :json => { :object => "vm", :success => true,
+ :alert => "VM Pool changed for this Virtual Machine" }
+ end
+
protected
def _setup_provisioning_options
@provisioning_options = [[Vm::PXE_OPTION_LABEL, Vm::PXE_OPTION_VALUE],
diff --git a/src/app/views/vm/edit_vmpool.rhtml b/src/app/views/vm/edit_vmpool.rhtml
new file mode 100644
index 0000000..a3d3839
--- /dev/null
+++ b/src/app/views/vm/edit_vmpool.rhtml
@@ -0,0 +1,39 @@
+<%- content_fo...
2010 Aug 25
2
[PATCH] Virtio support
...render :layout => false
end
+ def edit_vmpool
+ svc_modify(params[:id])
+ @vm = Vm.find(params[:id])
+ render :layout => 'popup'
+ end
+
+ def update_vmpool
+ svc_modify(params[:id])
+ @vm = Vm.find(params[:id])
+ # TODO
+ end
+
protected
def _setup_provisioning_options
@provisioning_options = [[Vm::PXE_OPTION_LABEL, Vm::PXE_OPTION_VALUE],
@@ -176,7 +188,8 @@ class VmController < ApplicationController
@vm.nics.each { |nic|
nnic = Nic.new(:mac => nic.mac,
:vm_id => @vm.id,
- :network...
2009 Jun 19
1
[PATCH server] add collapsable sections to vm form
...ot;, {:style=>"width:250px;"} %>
<%= text_field_with_label "UUID:", "vm", "uuid", {:style=>"width:250px;"} %>
<%= select_with_label "Operating System:", 'vm', 'provisioning_and_boot_settings', @provisioning_options, :style=>"width:250px;" %>
<% if controller.action_name == "edit" %><b style="color: #FF0000">*Warning* Editing provision could overwrite vm</b><% end %>
+
<div class="clear_row" style="height:15px;">...