From 336ce1cf5488fa50d8fe0729d65a888dc52355a2 Mon Sep 17 00:00:00 2001 From: lgromero Date: Wed, 24 Apr 2024 14:33:36 +0200 Subject: [PATCH] refs #273 #329 #310 fix call directory when creates new script ipxe --- installer/ogboot_installer.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/installer/ogboot_installer.sh b/installer/ogboot_installer.sh index 67330db..baeab95 100644 --- a/installer/ogboot_installer.sh +++ b/installer/ogboot_installer.sh @@ -58,7 +58,6 @@ generate_ipxe_script() { echo "Generando script IPXE..." ip_address=$(ifconfig eth0 | awk '/inet / {print $2}') - cd ogboot ls -lha pwd template="etc/dhcp_boot.ipxe.tmpl" @@ -70,7 +69,7 @@ generate_ipxe_script() { echo "Archivo creado con éxito en $ipxe_output" - template_default="etc/default.ipxe" + template_default="tftpboot/ipxe_scripts/default.ipxe" default_output="/opt/opengnsys/tftpboot/ipxe_scripts/default.ipxe"