CPU pinning page: update VMs with preservation of custom XML settings

This commit is contained in:
bergware
2018-08-11 13:56:30 +02:00
parent 1c90885ea4
commit 2eb21aaea6
3 changed files with 47 additions and 62 deletions
-1
View File
@@ -65,7 +65,6 @@ case 'ct':
// create the current container assignments
require_once "$docroot/plugins/dynamix.docker.manager/include/DockerClient.php";
$DockerClient = new DockerClient();
$DockerTemplates = new DockerTemplates();
$containers = $DockerClient->getDockerContainers();
$user_prefs = $dockerManPaths['user-prefs'];
$cts = []; foreach ($containers as $ct) $cts[] = $ct['Name'];