From 7c9032547140aff2ab45f529f7c2fea52f988f8d Mon Sep 17 00:00:00 2001 From: Manuel Aranda Date: Tue, 8 Oct 2024 12:32:16 +0200 Subject: [PATCH] Added MigrateImage in readme --- README.md | 2 +- src/Command/Migration/MigrateClientsCommand.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e8fc13a..0078882 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ docker exec ogcore-php php bin/console opengnsys:migration:organizational-unit # docker exec ogcore-php php bin/console opengnsys:migration:hardware-profile #cargamos los perfiles de hardware docker exec ogcore-php php bin/console opengnsys:migration:clients #cargamos los clientes docker exec ogcore-php php bin/console opengnsys:migration:os #cargamos los sistemas operativos -docker exec ogcore-php php bin/console opengnsys:migration:partition #cargamos las particiones +docker exec ogcore-php php bin/console opengnsys:migration:image #cargamos las imagenes ``` ## Objetos de interés diff --git a/src/Command/Migration/MigrateClientsCommand.php b/src/Command/Migration/MigrateClientsCommand.php index f4c2fc1..cee6b8e 100644 --- a/src/Command/Migration/MigrateClientsCommand.php +++ b/src/Command/Migration/MigrateClientsCommand.php @@ -63,6 +63,7 @@ class MigrateClientsCommand extends Command $clientEntity->setNetdriver($client['netdriver']); $clientEntity->setMac($client['mac']); $clientEntity->setIp($client['ip']); + $clientEntity->setMaintenance(false); $clientEntity->setPosition(['x' => 0, 'y' => 0]); }