summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2011-03-11 17:13:10 -0600
committerJosh Kearney <josh@jk0.org>2011-03-11 17:13:10 -0600
commitab37248cc2e40b06e1d349833da01494a9ca3641 (patch)
tree8a27d9f259630920bd10545639dd137e77cc0c19 /nova
parent80bc32659e41f496bb1bfefbdd6ca63de7ff9f98 (diff)
downloadnova-ab37248cc2e40b06e1d349833da01494a9ca3641.tar.gz
nova-ab37248cc2e40b06e1d349833da01494a9ca3641.tar.xz
nova-ab37248cc2e40b06e1d349833da01494a9ca3641.zip
oops
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/xenapi/vm_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py
index 866eb5d62..8dd246178 100644
--- a/nova/virt/xenapi/vm_utils.py
+++ b/nova/virt/xenapi/vm_utils.py
@@ -142,7 +142,7 @@ class VMHelper(HelperBase):
# Complete VM configuration record according to the image type
# non-raw/raw with PV kernel/raw in HVM mode
if use_pv_kernel:
- vm_rec['platform']['nx'] = 'false'
+ rec['platform']['nx'] = 'false'
if instance.kernel_id:
# 1. Kernel explicitly passed in, use that
rec['PV_args'] = 'root=/dev/xvda1'