# Kickstart file automatically generated by anaconda. install url --url http://repos.sopnet.com.ar/centos/5/os/i386 lang en_US.UTF-8 keyboard es xconfig --startxonboot #text network --device eth0 --bootproto query rootpw --iscrypted $1$VIMQYX0m$/pjsKjfEhUfQLNxa98btX1 firewall --disabled --port=22:tcp authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc America/Argentina/Buenos_Aires bootloader --location=mbr --driveorder=sda --append="rhgb quiet vga=791" # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work #clearpart --all --drives=sda #part /boot --fstype ext3 --size=1000 --asprimary #part / --fstype ext3 --size=250000 #part swap --size=16000 %packages @mysql @editors @text-internet @dns-server @dialup @core @base @network-server @web-server @server-cfg @development-tools device-mapper-multipath dhcp freeradius lynx system-config-bind system-config-boot imake mc postfix ntp perl-Net-SSLeay perl-Crypt-SSLeay rsyslog -sendmail -anacron -autofs -oddjob -NetworkManager -NetworkManager-glib -NetworkManager-gnome -evolution -evolution-connector -krb5-auth-dialog -sysklogd %post chkconfig ntpd on chkconfig avahi-daemon off chkconfig ip6tables off chkconfig iptables off chkconfig nfslock off chkconfig nfs off chkconfig pcscd off chkconfig yum-updatesd off chkconfig smb off chkconfig netfs off chkconfig cpuspeed off chkconfig bluetooth off chkconfig hidd off chkconfig gpm off chkconfig portmap off chkconfig rpcgssd off chkconfig rpcidmapd off chkconfig rpcsvcgssd off chkconfig hplip off chkconfig iscsi off chkconfig iscsid off chkconfig syslog off >/dev/null 2>&1 chkconfig rsyslog on >/dev/null 2>&1 /bin/sed -i 's/id:5:initdefault/id:3:initdefault/g' /etc/inittab /bin/sed -i 's/"-m 0"/"-c3 -4"/g' /etc/sysconfig/rsyslog echo Port 9559 >>/etc/ssh/sshd_config echo -e "[sopnet]\nname=CentOS \$releasever - \$basearch - SOPNET\nbaseurl=http://repos.sopnet.com.ar/rpms/centos\$releasever/\$basearch/\nenabled=1\ngpgcheck=0" >/etc/yum.repos.d/sopnet-centos.repo echo -e "\n[sopnetphp]\nname=CentOS PHP \$releasever - \$basearch - SOPNET\nbaseurl=http://repos.sopnet.com.ar/rpms/centos\$releasever.php/\$basearch/\nenabled=1\ngpgcheck=0" >>/etc/yum.repos.d/sopnet-centos.repo echo -e "\n[sopnetmysql]\nname=CentOS MySQL \$releasever - \$basearch - SOPNET\nbaseurl=http://repos.sopnet.com.ar/rpms/centos\$releasever.mysql/\$basearch/\nenabled=1\ngpgcheck=0" >>/etc/yum.repos.d/sopnet-centos.repo echo -e "\n[sopnetmariadb]\nname=CentOS MariaDB \$releasever - \$basearch - SOPNET\nbaseurl=http://repos.sopnet.com.ar/rpms/centos\$releasever.mariadb/\$basearch/\nenabled=1\ngpgcheck=0" >>/etc/yum.repos.d/sopnet-centos.repo echo -e "\n[sopnetdhcp]\nname=CentOS dhcp \$releasever - \$basearch - SOPNET\nbaseurl=http://repos.sopnet.com.ar/rpms/centos\$releasever.dhcp/\$basearch/\nenabled=1\ngpgcheck=0" >>/etc/yum.repos.d/sopnet-centos.repo echo -e "\n[sopnetfreeradius]\nname=CentOS freeradius \$releasever - \$basearch - SOPNET\nbaseurl=http://repos.sopnet.com.ar/rpms/centos\$releasever.freeradius/\$basearch/\nenabled=1\ngpgcheck=0" >>/etc/yum.repos.d/sopnet-centos.repo echo -e "[base]\nname=CentOS-\$releasever - Base\nbaseurl=http://repos.sopnet.com.ar/centos/\$releasever/os/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5\n\n[updates]\nname=CentOS-\$releasever - Updates\nbaseurl=http://repos.sopnet.com.ar/centos/\$releasever/updates/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5\n\n[extras]\nname=CentOS-\$releasever - Extras\nbaseurl=http://repos.sopnet.com.ar/centos/\$releasever/extras/\$basearch/\ngpgcheck=1\nenabled=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5\n\n[centosplus]\nname=CentOS-\$releasever - Plus\nmirrorlist=http://mirrorlist.centos.org/?release=\$releasever&arch=\$basearch&repo=centosplus\ngpgcheck=1\nenabled=0\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5\n\n[contrib]\nname=CentOS-\$releasever - Contrib\nmirrorlist=http://mirrorlist.centos.org/?release=\$releasever&arch=\$basearch&repo=contrib\ngpgcheck=1\nenabled=0\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5" > /etc/yum.repos.d/CentOS-Base.repo echo -e "root soft nofile 32768\nroot hard nofile 32768\nnamed soft nofile 32768\nnamed hard nofile 32768\n" >/etc/security/limits.d/files.conf echo -e "alias scsi_hostadapter1000 libata\nalias scsi_hostadapter1001 ata_piix\nalias scsi_hostadapter1002 sd_mod\nalias scsi_hostadapter1003 ahci\n" >>/etc/modprobe.conf echo -e "install nf_nat_sip /bin/true\ninstall nf_conntrack_sip /bin/true\ninstall nf_nat_h323 /bin/true\ninstall nf_conntrack_h323 /bin/true\ninstall nf_nat_tftp /bin/true\ninstall nf_conntrack_tftp /bin/true\noptions nf_conntrack hashsize=524288\n" >>/etc/modprobe.conf