From d8da62dd6b30505bc700bafcd73f4f990cdab807 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Thu, 25 Aug 2011 11:37:17 -0400 Subject: fixing bug --- nova/virt/xenapi/vmops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index 64c106f47..e90022de3 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -241,7 +241,7 @@ class VMOps(object): # Alter the image before VM start for, e.g. network injection also # alter the image if there's metadata. - if FLAGS.flat_injected or instance['metadata']: + if FLAGS.flat_injected: VMHelper.preconfigure_instance(self._session, instance, first_vdi_ref, network_info) -- cgit