mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Make sure we update xml on dtb addition
This commit is contained in:
parent
dd7133fdc0
commit
64af328879
@ -229,6 +229,7 @@ module VagrantPlugins
|
||||
if config.dtb
|
||||
dtb = REXML::XPath.first(xml_descr,'/domain/os/dtb')
|
||||
if dtb.nil?
|
||||
descr_changed = true
|
||||
dtb = REXML::Element.new('dtb', REXML::XPath.first(xml_descr,'/domain/os'))
|
||||
dtb.text = config.dtb
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user