From 9546b0b83f2887670613bcedfda5d8ae1cafd505 Mon Sep 17 00:00:00 2001 From: lgromero Date: Thu, 30 May 2024 22:32:56 +0200 Subject: [PATCH] refs #404 fix delete pxe --- src/OgBootBundle/Controller/OgBootController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OgBootBundle/Controller/OgBootController.php b/src/OgBootBundle/Controller/OgBootController.php index a9a0fe8..adf9225 100644 --- a/src/OgBootBundle/Controller/OgBootController.php +++ b/src/OgBootBundle/Controller/OgBootController.php @@ -841,7 +841,7 @@ public function getBootFiles(): JsonResponse { $directory = '/opt/ogboot/tftpboot/ipxe_scripts'; - $fileName = "01-" . str_replace(':', '-', $mac); + $fileName = "01-" . $mac; $filePath = "$directory/$fileName";