mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 10:38:50 -05:00
Fix: vm manager: vdisk path value can be read from 'dev' or 'file' xml attributes
This commit is contained in:
@@ -993,7 +993,7 @@
|
||||
|
||||
$buses = $this->get_xpath($dom, '//domain/devices/disk[@device="disk"]/target/@bus', false);
|
||||
$disks = $this->get_xpath($dom, '//domain/devices/disk[@device="disk"]/target/@dev', false);
|
||||
$files = $this->get_xpath($dom, '//domain/devices/disk[@device="disk"]/source/@file', false);
|
||||
$files = $this->get_xpath($dom, '//domain/devices/disk[@device="disk"]/source/@*', false);
|
||||
|
||||
$ret = array();
|
||||
for ($i = 0; $i < $disks['num']; $i++) {
|
||||
|
||||
Reference in New Issue
Block a user