summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2017-07-17 09:16:45 -0400
committerCole Robinson <crobinso@redhat.com>2017-07-17 09:16:45 -0400
commitb5c9321b0762b6a33a1ca5d20a4ab4bd4a16ad3e (patch)
treebb9be05000f2f912ed40d1c2cda578aad2aeaf32
parentc6fdfbf3c319949c9c69e0d030296bc5fd23814f (diff)
downloadvirt-manager-b5c9321b0762b6a33a1ca5d20a4ab4bd4a16ad3e.tar.gz
osxml: run abspath on passed nvram value
-rw-r--r--virtinst/osxml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtinst/osxml.py b/virtinst/osxml.py
index 368ef57a..06c204d3 100644
--- a/virtinst/osxml.py
+++ b/virtinst/osxml.py
@@ -118,7 +118,7 @@ class OSXML(XMLBuilder):
loader_type = XMLProperty("./loader/@type")
loader_secure = XMLProperty("./loader/@secure", is_yesno=True)
smbios_mode = XMLProperty("./smbios/@mode")
- nvram = XMLProperty("./nvram")
+ nvram = XMLProperty("./nvram", do_abspath=True)
nvram_template = XMLProperty("./nvram/@template")
arch = XMLProperty("./type/@arch",
default_cb=lambda s: s.conn.caps.host.cpu.arch)