Displaying 8 results from an estimated 8 matches for "provisioning_and_boot_settings".
2010 Feb 25
2
[PATCH] Enhance vms display
..., "vm", "description", {: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 "...
2009 Jun 19
0
[PATCH server] add toggable sections to vm form
..., "vm", "description", {: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="...
2010 Sep 02
1
[PATCH 1/1] Introduce an option to always pxe-boot a vm.
...= "pxe"
+ PXE_ALWAYS_OPTION_LABEL = "PXE Boot (always)"
+ PXE_ALWAYS_OPTION_VALUE = "pxe_always"
HD_OPTION_LABEL = "Boot from HD"
HD_OPTION_VALUE = "hd"
@@ -264,7 +267,9 @@ class Vm < ActiveRecord::Base
end
def provisioning_and_boot_settings
if provisioning == nil
- if boot_device==BOOT_DEV_NETWORK
+ if boot_device==BOOT_DEV_NETWORK_ALWAYS
+ PXE_ALWAYS_OPTION_VALUE
+ elsif boot_device==BOOT_DEV_NETWORK
PXE_OPTION_VALUE
elsif boot_device==BOOT_DEV_HD
HD_OPTION_VALUE
@@ -464,7 +469,9 @@...
2009 Aug 21
0
Unable to assign cobbler image as boot device
...a VM and assign the operating system to an image I created under cobbler I get a http 404 error when I attempt to save the settings. The following is shown in the rails log.
Processing VmController#update (for 192.168.42.102 at 2009-08-21 23:45:26) [POST]
Parameters: {"vm"=>{"provisioning_and_boot_settings"=>"image at cobbler:W2k8-R2", "storage_volume_ids"=>["9"], "vm_resource_pool_id"=>"5", "uuid"=>"d25a31bb-23a4-aa62-3113-1539a7f9dce9", "description"=>"Alfresco", "memory_allocated_in_m...
2009 Jul 24
2
[PATCH server] add collapsable sections to vm form
..., "vm", "description", {: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=&qu...
2010 Sep 09
1
Provisioning Windows
How do I go about provisioning a windows VM? I've added the iso to
cobbler using the following command.
cobbler image add --name=W2k8Prov --file=nfs://192.168.50.190/ovirt/w2k8.iso
The image then appears in the list of Operating Systems to choose when
creating a VM. I select the image when I create the VM but then when I
go to save I get the error:
undefined method `keys' for
2009 Jun 19
1
[PATCH server] add collapsable sections to vm form
..., "vm", "description", {: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=&qu...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...mb %> MB<br/>
- <%=h @vm.vnic_mac_addr %><br/>
+ <% nic_macs = ""
+ @vm.nics.each { |nic| nic_macs += nic.mac + " " } %>
+ <%=h nic_macs %><br/>
<%=h @vm.boot_device %><br/>
<%=h @vm.provisioning_and_boot_settings %><br/>
<%=h @vm.state %>
diff --git a/src/db/migrate/040_associate_vms_with_nics.rb b/src/db/migrate/040_associate_vms_with_nics.rb
new file mode 100644
index 0000000..3d4af03
--- /dev/null
+++ b/src/db/migrate/040_associate_vms_with_nics.rb
@@ -0,0 +1,103 @@
+# Copyright (C...