mirror of
https://github.com/unraid/webgui.git
synced 2026-04-28 22:09:24 -05:00
Fixed primary graphics card selection
Note: this solution isn't complete. Removing a 2nd card doesn't work
This commit is contained in:
@@ -1112,7 +1112,7 @@
|
||||
// update parent arrays
|
||||
if (!$old['devices']['hostdev']) unset($old['devices']['hostdev']);
|
||||
if (!$new['devices']['hostdev']) unset($new['devices']['hostdev']);
|
||||
unset($old['cputune']['vcpupin']);
|
||||
unset($old['cputune']['vcpupin'],$old['devices']['graphics']);
|
||||
// set namespace
|
||||
$new['metadata']['vmtemplate']['@attributes']['xmlns'] = 'unraid';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user