osxml: run abspath on passed nvram value

This commit is contained in:
Cole Robinson 2017-07-17 09:16:45 -04:00
parent c6fdfbf3c3
commit b5c9321b07
1 changed files with 1 additions and 1 deletions

View File

@ -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)