diff --git a/emhttp/plugins/dynamix.vm.manager/include/VMMachines.php b/emhttp/plugins/dynamix.vm.manager/include/VMMachines.php index b1715e787..c21a6865f 100644 --- a/emhttp/plugins/dynamix.vm.manager/include/VMMachines.php +++ b/emhttp/plugins/dynamix.vm.manager/include/VMMachines.php @@ -200,7 +200,7 @@ foreach ($vms as $vm) { echo "
| ",_('Disk devices')," | ",_('Serial')," | ",_('Bus')," | ",_('Capacity')," | ",_('Allocation')," | Boot Order |
|---|---|---|---|---|---|
| ",_('Disk devices/Volume')," | ",_('Serial')," | ",_('Bus')," | ",_('Capacity')," | ",_('Allocation')," | Boot Order |
| $disk | $serial | $bus | "; + $reallocation = trim(shell_exec("getfattr --absolute-names --only-values -n system.LOCATION ".escapeshellarg($disk)." 2>/dev/null")); + if (!empty($reallocation)) $reallocationstr = "($reallocation)"; else $reallocationstr = ""; + echo "|||
| $disk $reallocationstr | $serial | $bus | "; if ($state == 'shutoff') { echo ""; echo " |