# Django 2011-11-25 Kickstart-Datei zum automatischen Betanken von Intranetmaschinen # System neu installieren install # Systemsprache setzen lang en_US.UTF-8 # Tastaturlayout definieren keyboard de-latin1-nodeadkeys # Definition der Netzwerkeinstellungen network --bootproto=dhcp --device=eth0 --onboot=on # Netzwerkinstallation aus dem eigenen Repository url --url="http://10.0.0.50/centos/6/os/i386" # Zeitzone setzen timezone --utc Europe/Berlin # Root-Passwort verschlüsset vorgeben rootpw --iscrypted $6$uFS6SBvSfgaF8L9Z$etsPXUqBNDYhM5HYQ1VhpQbFFb3cSUoMDkhaG8AKBzJMdjbgOPnXykKcYMWPfsmAqIPkLvwX7oulNpvQSIaO8/ # Firewall aktivieren und SH freigeben firewall --service=ssh # SELinux deaktivieren selinux --disabled # Authentifizierungsoptionen für das System definieren authconfig --enableshadow --passalgo=sha512 --enablefingerprint # Konfiguration des X Window System überspringen, da Minimalinstallation skipx # Reboot nach der Installation ausführen reboot # Konfiguration des System Bootloaders bootloader --location=mbr --driveorder=vda --append="crashkernel=auto quiet" --md5pass=$1$ECJKwraI$WNYdNV46kjbUCDFSSXxRf0 # Paketauswahl definieren (Minimalinstallation mit zusätzlichen Paketen) %packages @core @server-policy vim mc bind-utils openssh-clients wget telnet logwatch # Postinstall-Anweisungen %post # default-user anlegen groupadd -g 500 django && useradd django -c "Django" -g 500 -u 500 -m # linuxcounter Verzeichnis anlegen und script downloaden mkdir -p /home/django/bin chown django:django /home/django/bin cd /home/django/bin wget -N --no-cache http://linuxcounter.net/script/lico-update.sh chmod +x /home/django/bin/lico-update.sh