parent
76b435c6a3
commit
358b5c8d35
|
@ -56,7 +56,7 @@ function add_tftpboot_files() {
|
|||
|
||||
generate_ipxe_script() {
|
||||
|
||||
# Obtener la dirección IP de eth0
|
||||
echo "Generando script IPXE..."
|
||||
ip_address=$(ifconfig eth0 | awk '/inet / {print $2}')
|
||||
cd ogboot
|
||||
ls -lha
|
||||
|
@ -142,12 +142,6 @@ if [ $? -ne 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
mount_NFS
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error en el montaje NFS"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
generate_ipxe_script
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error en la generación de scripts IPXE"
|
||||
|
|
Loading…
Reference in New Issue