# Kickstart file automatically generated by anaconda. install url --url http://repos.icabo.tv.br/centos/5/os/i386 lang pt_BR.UTF-8 keyboard br-abnt2 xconfig --startxonboot network --device eth0 --bootproto dhcp rootpw --iscrypted $1$WpMSAg7k$3dNaFUgg4kkwx4B/ozLIl0 firewall --disabled authconfig --enableshadow --enablemd5 --enablenis --nisdomain costadosol --nisserver 172.18.0.1 selinux --disabled timezone --utc America/Sao_Paulo 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 --linux #part /boot --fstype ext3 --size=100 #part swap --size=8200 #part / --fstype ext3 --size=100 --grow %packages @admin-tools @base @brazilian-support @core @development-tools @dialup @gnome-desktop @games @graphical-internet @graphics @java @kde-desktop @network-server @office @portuguese-support @printing @sound-and-video @system-tools @base-x system-config-kickstart system-config-netboot system-config-netboot-cmd keyutils kexec-tools trousers fipscheck device-mapper-multipath imake thunderbird kdegraphics libsane-hpaio vnc-server kdepim kdemultimedia festival audit mc xorg-x11-server-Xnest xorg-x11-server-Xvfb postfix compat-libstdc++-296 compat-libstdc++-33 libpng-devel tcl-devel tk-devel -evolution -evolution-webcal -evolution-connector -NetworkManager -NetworkManager-glib -NetworkManager-gnome -sendmail -anacron -oddjob -OpenIPMI -OpenIPMI-libs -python-imaging -tkinter -hplip3 %post chkconfig ntpd on chkconfig ip6tables off chkconfig iptables off chkconfig pcscd off chkconfig bluetooth off chkconfig hplip off chkconfig yum-updatesd off chkconfig ypbind on chkconfig iscsid off chkconfig iscsi off mkdir /network mkdir /info chmod 777 /info echo "172.18.0.1:/home /home nfs rw,addr=172.18.0.1 0 0" >>/etc/fstab echo "172.18.0.1:/network /network nfs rw,addr=172.18.0.1 0 0" >>/etc/fstab echo -e "[costadosol]\nname=CentOS \$releasever - \$basearch - From Costadosol\nbaseurl=http://cds.icabo.tv.br/centos/repos/\$releasever/\$basearch/\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/CentOS-Costadosol.repo echo -e "[base]\nname=CentOS-\$releasever - Base\n#mirrorlist=http://mirrorlist.centos.org/?release=\$releasever&arch=\$basearch&repo=os\nbaseurl=http://repos.icabo.tv.br/centos/\$releasever/os/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5\n\n[updates]\nname=CentOS-\$releasever - Updates\n#mirrorlist=http://mirrorlist.centos.org/?release=\$releasever&arch=\$basearch&repo=updates\nbaseurl=http://repos.icabo.tv.br/centos/\$releasever/updates/\$basearch/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5\n\n[cr]\nname=CentOS-\$releasever - cr\nbaseurl=http://repos.icabo.tv.br/centos/\$releasever/cr/\$basearch/\ngpgcheck=1\nenabled=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5\n\n[extras]\nname=CentOS-\$releasever - Extras\nmirrorlist=http://mirrorlist.centos.org/?release=\$releasever&arch=\$basearch&repo=extras\ngpgcheck=1\nenabled=0\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:\t\treportes@apginfo.com.ar" >> /etc/aliases echo -e "queue_directory = /var/spool/postfix\ncommand_directory = /usr/sbin\ndaemon_directory = /usr/libexec/postfix\ndata_directory = /var/lib/postfix\nmail_owner = postfix\ninet_interfaces = localhost\ninet_protocols = ipv4\nmydestination = \$myhostname, localhost.\$mydomain\nunknown_local_recipient_reject_code = 550\nalias_maps = hash:/etc/postfix/aliases\nalias_database = hash:/etc/postfix/aliases\ndebug_peer_level = 2\ndebugger_command =\n PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin\n ddd \$daemon_directory/\$process_name \$process_id & sleep 5\nsendmail_path = /usr/sbin/sendmail.postfix\nnewaliases_path = /usr/bin/newaliases.postfix\nmailq_path = /usr/bin/mailq.postfix\nsetgid_group = postdrop\nhtml_directory = no\nmanpage_directory = /usr/share/man\nsample_directory = /usr/share/doc/postfix-2.4.5/samples\nreadme_directory = /usr/share/doc/postfix-2.4.5/README_FILES\n#parametros cambiados\nmydomain = costadosol.redirectme.net\nrelayhost = 172.18.0.1" > /etc/postfix/main.cf ln -sf /network/bootexecute /etc/cron.daily/bootexecute #Disabling ipv6 sed -i -e 's/\(NETWORKING_IPV6=\).*/\1no/' /etc/sysconfig/network echo "options ipv6 disable=1" >> /etc/modprobe.conf #Disabling Zeroconf grep -q '^NOZEROCONF=yes' /etc/sysconfig/network || sed -i -e '/^NETWORKING=yes/a NOZEROCONF=yes' /etc/sysconfig/network