Displaying 2 results from an estimated 2 matches for "1dfd74f".
2010 Sep 01
1
[PATCH 2/2] Adding the ability to select a Host to start a VM [2/2]
Signed-off-by: Simon Courtois <scourtois at linagora.com>
---
 src/task-omatic/taskomatic.rb |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 471ec88..1dfd74f 100755
--- a/src/task-omatic/taskomatic.rb
+++ b/src/task-omatic/taskomatic.rb
@@ -355,11 +355,10 @@ class TaskOmatic
       end
     end
 
-    if task.args
+    if task.args && !task.args.blank?
       db_host = db_vm.vm_resource_pool.get_hardware_pool.hosts.find(task.args)
-    else
-...
2010 Sep 02
1
[PATCH 1/1] Introduce an option to always pxe-boot a vm.
....value.indexOf("<%= Vm::PROFILE_PREFIX %>@<%= Vm::COBBLER_PREFIX %>") == 0)){
               $('#vm_network_config_select_0').val(nics[0].network_id).trigger('change');
          }
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 1dfd74f..6f699d2 100755
--- a/src/task-omatic/taskomatic.rb
+++ b/src/task-omatic/taskomatic.rb
@@ -415,9 +415,17 @@ class TaskOmatic
        end
        net_interfaces.push({ :mac => nic.mac, :interface => net_device, :virtio => nic.virtio })
     }
+    # network_always indicates that the boot d...