diff options
author | Irina Gómez <irinagomez@us.es> | 2019-03-29 13:36:33 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-03-29 13:36:33 +0100 |
commit | 89f88ba76c001f0e9804fad599c67c0ffe42f647 (patch) | |
tree | c99b357c69cbcc769102fa34312f08d862b74ff2 /installer/opengnsys_import.sh | |
parent | d61c5e5659a4c1ef7cdcfa0fc788b616d6c2cb45 (diff) |
#802 The installation, import and export scripts considers the PXE files for UEFI.
Diffstat (limited to 'installer/opengnsys_import.sh')
-rwxr-xr-x | installer/opengnsys_import.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh index c3b343ee..1f5ce410 100755 --- a/installer/opengnsys_import.sh +++ b/installer/opengnsys_import.sh @@ -305,9 +305,11 @@ done # TFTP echo " * Guardamos los ficheros PXE de los clientes." -mv $OPENGNSYS/tftpboot/menu.lst $OPENGNSYS/tftpboot/menu.lst-$DATE -cp -r $TMPDIR/menu.lst $OPENGNSYS/tftpboot -chown -R www-data:www-data $OPENGNSYS/tftpboot/menu.lst +for BOOTLOADER in menu.lst grub; do + mv $OPENGNSYS/tftpboot/$BOOTLOADER $OPENGNSYS/tftpboot/$BOOTLOADER-$DATE + cp -r $TMPDIR/$BOOTLOADER $OPENGNSYS/tftpboot + chown -R www-data:www-data $OPENGNSYS/tftpboot/$BOOTLOADER +done # Configuración de los clientes echo " * Guardamos la configuración de los clientes." |