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)
2. [Description](#description)
* [PXE files](#pxe_files)
* [Configuration files](#configuration_files)
* [PXE files](#pxe-files)
* [Configuration files](#configuration-files)
* [Preseed](#preseed)
* [Scripts](#scripts)
3. [How to use it](#how_to_use_it)
3. [How to use it](#how-to-use-it)
4. [TODO](#todo)
## Overview
@ -30,12 +30,22 @@ Use some bootloaders files provide by:
### Preseed
### Script
### Scripts
See the [scripts's README.md][scripts readme.md] file for more informations.
## 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
* 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"

View File

@ -1,11 +1,11 @@
# Scripts
1. [Description](#description)
2. [Scripts list](#scripts_list)
* [Download Debian](#download_debian.sh)
* [Download Ubuntu](#dowload_ubuntu.sh)
* [Make Debian Initrd with Firmware](#make_debian_initrd_with_firmware.sh)
* [Late command](#latecommand)
2. [Scripts list](#scripts-list)
* [Download Debian](#download_debiansh)
* [Download Ubuntu](#dowload_ubuntush)
* [Make Debian Initrd with Firmware](#make_debian_initrd_with_firmwaresh)
* [Debian late_command](#debian-late_command)
## Description
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.
* Extract initrd and firmwares packages to build a new initrd.
### latecommand
### Debian late_command
#### Description
Some useful configurations after a Debian installation: