Displaying 2 results from an estimated 2 matches for "88e0aef".
2009 Oct 08
3
[PATCH] fix storages crazyness
Signed-off-by: Loiseleur Michel <mloiseleur at linagora.com>
---
app/models/vm.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/app/models/vm.rb b/app/models/vm.rb
index 88e0aef..0be3f89 100644
--- a/app/models/vm.rb
+++ b/app/models/vm.rb
@@ -27,7 +27,7 @@ class Vm < ActiveRecord::Base
find(:all, :conditions=>{:state=>Task::STATE_QUEUED})
end
end
- has_and_belongs_to_many :storage_volumes
+ has_and_belongs_to_many :storage_volumes, :uniq => tr...
2010 Sep 02
1
[PATCH 1/1] Introduce an option to always pxe-boot a vm.
...ng_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/app/models/vm.rb
index 88e0aef..885112e 100644
--- a/src/app/models/vm.rb
+++ b/src/app/models/vm.rb
@@ -101,8 +101,9 @@ class Vm < ActiveRecord::Base
BOOT_DEV_HD = "hd"
BOOT_DEV_NETWORK = "network"
+ BOOT_DEV_NETWORK_ALWAYS= "network_always"
BOOT_DEV_CDROM =...