refs #273 #329 #310 fix call directory when creates new script ipxe

pull/1/head
Luis Gerardo Romero Garcia 2024-04-24 14:33:36 +02:00
parent 358b5c8d35
commit 336ce1cf54
1 changed files with 1 additions and 2 deletions

View File

@ -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"