README.md: add "How-to use it" info

This commit is contained in:
Jeremy Gardais 2016-07-21 16:33:03 +02:00
parent 80f5e74e8c
commit 00114ade4c
2 changed files with 20 additions and 12 deletions

View File

@ -2,11 +2,11 @@
1. [Overview](#overview) 1. [Overview](#overview)
2. [Description](#description) 2. [Description](#description)
* [PXE files](#pxe_files) * [PXE files](#pxe-files)
* [Configuration files](#configuration_files) * [Configuration files](#configuration-files)
* [Preseed](#preseed) * [Preseed](#preseed)
* [Scripts](#scripts) * [Scripts](#scripts)
3. [How to use it](#how_to_use_it) 3. [How to use it](#how-to-use-it)
4. [TODO](#todo) 4. [TODO](#todo)
## Overview ## Overview
@ -30,12 +30,22 @@ Use some bootloaders files provide by:
### Preseed ### Preseed
### Script ### Scripts
See the [scripts's README.md][scripts readme.md] file for more informations. See the [scripts's README.md][scripts readme.md] file for more informations.
## How to use it ## How to use it
* Put the data of this repository on the PXE server:
* Clone the repository with https URL or with SSH to **/var/lib/tftpboot**.
* Download the last archive: `wget https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/archive/master.tar.gz`
* Install a TFTP server (`tftpd-hpa` package for Debian's based systems or `tftp-server` for Redhat's based systems).
* Start the tftpd's service:
* `sudo service tftpd-hpa start`
* `sudo systemctl start tftpd-hpa`
* You can test if the TFTP server provide the files with a TFTP client (`tftp-hpa`) by downloading a file with the command:
* `tftp $IP.SRV.TFTP -c get README.md /tmp/README.md_from_tftpd_server`
## TODO ## TODO
* Add a tiny preseed file that could be load for a manual install. * Add a tiny preseed file that could be load for a manual install.
@ -44,5 +54,3 @@ See the [scripts's README.md][scripts readme.md] file for more informations.
[scripts readme.md]: https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/src/master/scripts "scripts's README.md for tftpboot" [scripts readme.md]: https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/src/master/scripts "scripts's README.md for tftpboot"

View File

@ -1,11 +1,11 @@
# Scripts # Scripts
1. [Description](#description) 1. [Description](#description)
2. [Scripts list](#scripts_list) 2. [Scripts list](#scripts-list)
* [Download Debian](#download_debian.sh) * [Download Debian](#download_debiansh)
* [Download Ubuntu](#dowload_ubuntu.sh) * [Download Ubuntu](#dowload_ubuntush)
* [Make Debian Initrd with Firmware](#make_debian_initrd_with_firmware.sh) * [Make Debian Initrd with Firmware](#make_debian_initrd_with_firmwaresh)
* [Late command](#latecommand) * [Debian late_command](#debian-late_command)
## Description ## Description
Set of scripts to download and generate necessary files to allow differents GNU/Linux distributions to boot through the network. Set of scripts to download and generate necessary files to allow differents GNU/Linux distributions to boot through the network.
@ -36,7 +36,7 @@ The script will provide Debian's netboot installers with **additionnals firmware
* **qlogic**: For QLogic Infiniband, SCSI, Fibre Channel/FCoE adapters. * **qlogic**: For QLogic Infiniband, SCSI, Fibre Channel/FCoE adapters.
* Extract initrd and firmwares packages to build a new initrd. * Extract initrd and firmwares packages to build a new initrd.
### latecommand ### Debian late_command
#### Description #### Description
Some useful configurations after a Debian installation: Some useful configurations after a Debian installation: