mirror of
https://github.com/unraid/webgui.git
synced 2026-01-25 02:58:58 -06:00
@@ -1188,8 +1188,6 @@
|
||||
if (!$new['devices']['tpm']) unset($old['devices']['tpm']);
|
||||
// remove existing auto-generated settings
|
||||
unset($old['cputune']['vcpupin'],$old['devices']['video'],$old['devices']['disk'],$old['devices']['interface'],$old['devices']['filesystem'],$old['cpu']['@attributes'],$old['os']['boot'],$old['os']['loader'],$old['os']['nvram']);
|
||||
// Remove old CPU cache and features
|
||||
unset($old['cpu']['cache'], $old['cpu']['feature']) ;
|
||||
unset($old['features']['hyperv']) ;
|
||||
// set namespace
|
||||
$new['metadata']['vmtemplate']['@attributes']['xmlns'] = 'unraid';
|
||||
|
||||
Reference in New Issue
Block a user