README.md: add Preseed description
This commit is contained in:
parent
8c143d8292
commit
261527ef5f
64
README.md
64
README.md
|
@ -62,6 +62,59 @@ Contains the files which defines the PXE menu. The [first one][main menu.cfg] wi
|
|||
2. If you want to use with your own TFTPD server, you need te set your IP server ! Replace all occurrences of *129.20.27.239* by the IP of your TFTPD server to be able to load the preseed files !
|
||||
|
||||
### Preseed
|
||||
A preseed file can be loaded by the Debian-Installer to answer all questions
|
||||
Preseeding provides a way to set answers to questions asked by the Debian-Installer, without having to manually enter the answers. This makes it possible to fully automate most types of installation and even offers some features not available during normal installations. More informations on [Debian wiki][preseed informations].
|
||||
|
||||
#### Commons configurations
|
||||
* Localization :
|
||||
* Language : English
|
||||
* Country : France
|
||||
* Locale : en_US.UTF-8 (US English)
|
||||
* Keyboard : fr-latin9 (French)
|
||||
* Hardware :
|
||||
* Network configuration (IP, hostname, domain) : automatic (from DHCP server)
|
||||
* Load additionnals firmwares if availables.
|
||||
* Account :
|
||||
* Create a root account.
|
||||
* root password : SHA-256 hash of the password
|
||||
* Don't create a normal user (be sure to **allow remote connection for root** ! See [late_command info][debian latecommand howto]).
|
||||
* Timezone
|
||||
* Timezone : Europe/Paris
|
||||
* NTP server : ntp.univ-rennes1.fr
|
||||
* Partitionning
|
||||
* Use the entire first disk (sda or vda aka virtual hdd) with LVM.
|
||||
* Purge all LVM, RAID,… partitions or informations already set on the first disk.
|
||||
* Partitionning :
|
||||
| Device | Mount point | Size | Description |
|
||||
|-----------|-------------|------------------------|------------------------------------------------------------------------|
|
||||
| /dev/sda1 | /boot | 200 - 250 Mb | Bootloader (Grub) |
|
||||
| /dev/sda2 | LVM | 16 Gb - 100% | Physical Volume for LVM |
|
||||
| lv_root | / | 1 - 2 Gb | root partition |
|
||||
| lv_usr | /usr | 4 - 10 Gb | Non-essential system resources (binaries, libraries, documentations,…) |
|
||||
| lv_var | /var | 4 - 8 Gb | Variable files (databases, cache, log,…) |
|
||||
| lv_tmp | /tmp | 1 - 2 Gb | Temporary files cleaned between system reboots |
|
||||
| lv_home | /home | 2 - 3 Gb | User's home directories (saved files, personnal settings,…) |
|
||||
| lv_srv | /srv | 512 MB - 2 Gb | Specific datas for this system |
|
||||
| lv_opt | /opt | 512 MB - 4 Gb | Optional application |
|
||||
| lv_swap | SWAP | 512 Mb - 100% RAM size | Swap sapce |
|
||||
| lv_free | /mnt/free | free space | See below |
|
||||
* APT :
|
||||
* Installation from internet (repository : ftp.fr.debian.org)
|
||||
* Add a repository for Puppet (http://apt.puppetlabs.com) and the GPG key.
|
||||
* Select **ssh-server** and **standard** in _tasksel_ for installation.
|
||||
* Add additionnals packages : **tmux**, **puppet**, **zsh** and **tftp-hpa** (to be able to download the [latecommand archive from the PXE server][debian latecommand howto]).
|
||||
* Bootloader :
|
||||
* Install Grub on the MBR of the first disk.
|
||||
* late_command
|
||||
* Define ZSH as the default shell.
|
||||
* Permit root login via SSH with it's password.
|
||||
* Download and extract a _latecommand_ archive from [this repository][debian latecommand description].
|
||||
* Run the script from
|
||||
|
||||
------
|
||||
|
||||
lv_free - /mnt/free
|
||||
: The preseed's partitionning need to allocate all the disk space. If it's not define, it will put it in the last defined partition all extra free space. So **lv_free** is a temporary LV that you can destroy and use the space to resize any other LV.
|
||||
|
||||
### Scripts
|
||||
|
||||
|
@ -86,13 +139,18 @@ See the [scripts's README.md][scripts readme.md] file for more informations.
|
|||
## TODO
|
||||
* Add a tiny preseed file that could be loaded for a manual install.
|
||||
* Download the latecommand archive from this repository instead of the TFTPD server ?
|
||||
* Add Debian Stretch support #1
|
||||
|
||||
|
||||
|
||||
|
||||
[main menu.cfg]: ./config/menu.cfg
|
||||
[debian menu.cfg]: ./config/debian/menu.cfg
|
||||
[preseed jessie]: ./preseed/debian/jessie/preseed.cfg
|
||||
[preseed wheezy]: ./preseed/debian/wheezy/preseed.cfg
|
||||
[scripts readme.md]: https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/src/master/scripts "scripts's README.md for tftpboot"
|
||||
[preseed informations]: https://wiki.debian.org/DebianInstaller/Preseed
|
||||
[preseed jessie]: ./preseed/debian/jessie/preseed.cfg "Debian Jessie preseed"
|
||||
[preseed wheezy]: ./preseed/debian/wheezy/preseed.cfg "Debian Wheezy preseed"
|
||||
[scripts readme.md]: ./scripts/README.md "scripts's README.md for tftpboot"
|
||||
[debian initrd with firmware script]: ./scripts/README.md#make_debian_initrd_with_firmwaresh "informations about the Debian's initrd with additionnals firmwares"
|
||||
[debian latecommand description]: ./scripts/README.md#debian-late_command "informations about the Debian's late_command script"
|
||||
[debian latecommand howto]: ./scripts/README.md#how-to-use-it "how-to use the Debian's late_command"
|
||||
[debian latecommand post.sh script]: ./scripts/latecommand/post.sh
|
||||
|
|
Loading…
Reference in New Issue