[Ovirt-devel] [PATCH server] Fix bridge usage after update.
Ian Main
imain at redhat.com
Fri Jan 23 19:19:41 UTC 2009
This patch fixes the usage of the ovirtbr after it was changed.
Unfortunately it's still hardcoded but that's the way it is for now.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/taskomatic.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 19bd4f0..34bff51 100755
--- a/src/task-omatic/taskomatic.rb
+++ b/src/task-omatic/taskomatic.rb
@@ -283,7 +283,7 @@ class TaskOmatic
# FIXME: get rid of the hardcoded bridge
xml = create_vm_xml(db_vm.description, db_vm.uuid, db_vm.memory_allocated,
db_vm.memory_used, db_vm.num_vcpus_allocated, db_vm.boot_device,
- db_vm.vnic_mac_addr, "ovirtbr0", storagedevs)
+ db_vm.vnic_mac_addr, "ovirtbreth0", storagedevs)
result = node.domainDefineXML(xml.to_s)
raise "Error defining virtual machine: #{result.text}" unless result.status == 0
--
1.6.0.4
More information about the ovirt-devel
mailing list