Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
informatique:linux:kickstart [2008/12/15 11:52] benoit |
informatique:linux:kickstart [2018/09/06 19:10] (Version actuelle) |
||
|---|---|---|---|
| Ligne 24: | Ligne 24: | ||
| :!: Pour une installation par la réseau le CD distribution Linux avec ses RPMS doit être disponible par HTTP, FTP ou NFS. | :!: Pour une installation par la réseau le CD distribution Linux avec ses RPMS doit être disponible par HTTP, FTP ou NFS. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| ==== Avec boot PXE ==== | ==== Avec boot PXE ==== | ||
| Ligne 33: | Ligne 41: | ||
| # Kickstart file automatically generated by anaconda. | # Kickstart file automatically generated by anaconda. | ||
| - | | ||
| - | url --url ftp://10.0.0.2/RHEL/RHEL4-U4-i386-ES/ | ||
| - | text | ||
| | | ||
| install | install | ||
| - | cdrom | + | url --url http://10.0.0.2/depot/linux/rhel/el5_i386 |
| - | lang en_US.UTF-8 | + | lang fr_FR.UTF-8 |
| - | langsupport --default=en_US.UTF-8 en_US.UTF-8 | + | |
| keyboard fr-latin9 | keyboard fr-latin9 | ||
| - | xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 | + | network --device eth0 --noipv6 --bootproto dhcp --hostname newhost |
| - | network --device eth0 --bootproto dhcp | + | rootpw --iscrypted $1$gHsf3I9X$tJ/6mDeRKRfPMmSIYXqlk0 |
| - | rootpw --iscrypted $1$o1IaOzfb$qQ/FLSCSCpaePggWd3VFh. | + | |
| firewall --disabled | firewall --disabled | ||
| - | selinux --disabled | ||
| authconfig --enableshadow --enablemd5 | authconfig --enableshadow --enablemd5 | ||
| - | timezone Europe/Paris | + | selinux --disabled |
| - | bootloader --location=mbr | + | timezone --utc Europe/Paris |
| + | skipx | ||
| + | text | ||
| + | bootloader --location=mbr --driveorder=sda | ||
| # The following is the partition information you requested | # The following is the partition information you requested | ||
| # Note that any partitions you deleted are not expressed | # Note that any partitions you deleted are not expressed | ||
| # here so unless you clear all partitions first, this is | # here so unless you clear all partitions first, this is | ||
| # not guaranteed to work | # not guaranteed to work | ||
| - | clearpart --all | + | #clearpart --linux |
| - | #part /boot --fstype ext3 --size=100 --asprimary | + | zerombr |
| - | part /boot --fstype ext3 --size=100 --asprimary --ondisk=sda | + | clearpart --drives=sda --all |
| - | part pv.3 --size=100 --grow --asprimary | + | part /boot --fstype ext3 --size=128 --asprimary |
| - | volgroup rootvg --pesize=32768 pv.3 | + | part / --fstype ext3 --size=1 --grow --asprimary |
| - | logvol / --fstype ext3 --name=lvroot --vgname=rootvg --size=2016 | + | part swap --size=256 --asprimary |
| - | logvol /var --fstype ext3 --name=lvvar --vgname=rootvg --size=1024 | + | part /var --fstype ext3 --size=400 |
| - | logvol swap --fstype swap --name=lvswap --vgname=rootvg --size=256 | + | part /tmp --fstype ext3 --size=200 |
| - | logvol /home --fstype ext3 --name=lvhome --vgname=rootvg --size=640 | + | |
| + | key --skip | ||
| + | | ||
| + | reboot | ||
| | | ||
| %packages | %packages | ||
| - | grub | + | #### Paquetages installés |
| + | # Support de la langue francaise | ||
| + | @ french-support | ||
| e2fsprogs | e2fsprogs | ||
| - | kernel | + | grub |
| - | lvm2 | + | # Client et Serveur SSH |
| + | openssh | ||
| + | openssh-clients | ||
| + | openssh-server | ||
| + | # MTA | ||
| + | postfix | ||
| + | # Outils de gestion des paquetages | ||
| + | yum | ||
| + | yum-rhn-plugin | ||
| + | rhn-setup | ||
| + | #Outils de monitoring | ||
| + | strace | ||
| + | sysstat | ||
| + | net-snmp | ||
| + | net-snmp-utils | ||
| + | # Installation Client Server X | ||
| + | xorg-x11-xauth | ||
| + | xorg-x11-fonts-Type1 | ||
| + | xterm | ||
| + | # Divers | ||
| + | screen | ||
| + | subversion | ||
| + | libstdc++ | ||
| + | ntp | ||
| + | |||
| + | #### Paquetages non installé | ||
| + | -rhnsd | ||
| + | -yum-updatesd | ||
| + | -NetworkManager | ||
| + | -bluez-utils | ||
| + | -wpa_supplicant | ||
| + | -irda-utils | ||
| + | -coolkey | ||
| + | -ifd-egate | ||
| + | -ccid | ||
| + | -pcsc-lite | ||
| + | -ypbind | ||
| + | -yp-tools | ||
| | | ||
| %post | %post | ||
| - | + | ==== Liens ==== | |
| + | * http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-options.html | ||