home *** CD-ROM | disk | FTP | other *** search
/ ftp.ac-grenoble.fr / 2015.02.ftp.ac-grenoble.fr.tar / ftp.ac-grenoble.fr / pub / slis / disk_boot / 2.1 / slis-2.1dkb3-AMD / KS.CFG < prev    next >
Text File  |  2002-04-16  |  3KB  |  123 lines

  1. # Kickstart SLIS 2.1
  2. # $Id: KS-AMD.CFG,v 1.1 2002/04/17 16:01:05 bzizou Exp $ #
  3.  
  4. ### Langage
  5. lang fr_FR
  6.  
  7. ### On peut mettre ce que l'on veut, ca sera remplace par l'install de SLIS.
  8. # Voir aussi plus bas dans les commandes post-install
  9. network --bootproto static --ip 192.168.0.1 --netmask 255.255.254.0 --gateway 192.168.0.1 --nameserver 192.168.0.254 
  10.  
  11. ### Install a partir du CD
  12. cdrom
  13.  
  14. ### Cartes reseau - Rien, on fait confiance a la detection automatique
  15. #device ethernet wd --opts "io=0x280, irq=3" 
  16.  
  17. ### Clavier
  18. keyboard fr-latin1
  19.  
  20. ### Nettoie la table de partitions si elle est corrompue.
  21. zerombr yes
  22.  
  23. ### Supprime toutes les partitions prΘcΘdentes
  24. clearpart --all
  25.  
  26. ### Les partitions
  27. # Taille mini du disque : 2Go
  28. part swap --size 128
  29. part / --size 400
  30. part /boot --size 30
  31. part /tmp --size 80 --grow --maxsize 200
  32. part /var --size 200 --grow --maxsize 500
  33. part /home --size 200 --grow --maxsize 160000
  34. part /www-cache --size 1000 
  35.  
  36. ### Methode d'installation
  37. install
  38.  
  39. ### La souris (pas indispensable pour un SLIS...)
  40. mouse genericps/2 --emulthree
  41.  
  42. ### Zone horaire
  43. timezone --utc Europe/Paris
  44.  
  45. ### Config X - Pas utilisΘ pour SLIS
  46. skipx
  47.  
  48. ### Root Password
  49. rootpw --iscrypted JUeNQzEhzTwm.
  50.  
  51. ### Authorization Configuration
  52. auth --useshadow
  53.  
  54. ### Lilo Configuration
  55. lilo --location mbr
  56.  
  57. ### Package Designation
  58. %packages
  59. @ Base
  60. @ Mail/WWW/News Tools
  61. @ DOS/Windows Connectivity
  62. @ Networked Workstation
  63. @ SMB (Samba) Server
  64. @ Anonymous FTP Server
  65. @ Web Server
  66. @ DNS Name Server
  67. @ Network Management Workstation
  68. dhcp
  69. minicom
  70. ppp
  71. tftp
  72. imap
  73. rsync
  74. arpwatch
  75. patch
  76. xntp3
  77.  
  78. ### Commandes post-installation
  79. %post
  80. # Activation de la premiere partition
  81. if [ "`/sbin/fdisk -l /dev/hda|grep hda1|grep -v \*`" != "" ]
  82. then
  83.   echo -e "a\n1\nw\n" | /sbin/fdisk /dev/hda
  84. fi
  85.  
  86. # Creation du script de lancement automatique de la configuration SLIS
  87. echo "if [ -f /root/.first ] ; then /root/slis_setup ; fi" >> /etc/profile
  88. touch /root/.first
  89. echo "
  90. echo ===== SLIS setup =====
  91. echo Insert setup disk now into drive A
  92. echo If it fails, you can run ./slis_setup to retry
  93. read BIDON
  94. rm -rf /root/.first
  95. mkdir /root/slis
  96. mcopy a:* /root/slis/
  97. cd /root/slis
  98. bash ./setup" > /root/slis_setup
  99. chmod 755 /root/slis_setup
  100.  
  101. # Mot de passe root vide
  102. /usr/sbin/usermod -p "" root
  103.  
  104. # Message of the day
  105. echo "SLIS pre-installed `/bin/date`" > /etc/motd
  106.  
  107. # Pour booter plus vite, desactivation des cartes rezo pour le premier
  108. # demarrage de ce futur SLIS
  109. echo -e "DEVICE=eth1\nONBOOT=no\n" > /etc/sysconfig/network-scripts/ifcfg-eth1
  110. echo -e "DEVICE=eth0\nONBOOT=no\n" > /etc/sysconfig/network-scripts/ifcfg-eth0
  111.  
  112. # Workaround contre le bug du clavier des portables Toshiba
  113. /sbin/chkconfig --del gpm
  114.  
  115. # Gestion des AMD Athlon et Duron
  116. cp /etc/lilo.conf /etc/lilo.sav
  117. echo "append=\"x86_serial_nr=1\"" > /etc/lilo.conf
  118. cat /etc/lilo.sav >> /etc/lilo.conf
  119. /sbin/lilo
  120.  
  121. # Par precaution, au cas ou l'installateur fasse un reset violent
  122. sync
  123.