# Kickstart file automatically generated by anaconda. #version=RHEL6 install url --url=http://repos.icabo.tv.br/centos/6/os/i386 lang pt_BR.UTF-8 keyboard br-abnt2 rootpw --iscrypted $6$tzeeVbbU$0nUqyZnrPHgz8sgYS4HL0jEDUbElH9LV7z0fn0GHTUU5zAR03namYW73u33LdvJp0ttkUVrwoOJ8yGjEHpnfC/ firewall --disabled authconfig --enableshadow --passalgo=sha512 --enablefingerprint --enablemd5 --enablenis --nisdomain costadosol --nisserver 172.18.0.1 selinux --disabled timezone --utc America/Sao_Paulo bootloader --location=mbr --driveorder=sda --append="vga=788" # 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 --none --drives=sda #part /boot --fstype=ext3 --onpart=sda1 #part swap --onpart=sda2 #part / --fstype=ext3 --onpart=sda3 repo --name="CentOS" --baseurl=http://repos.icabo.tv.br/centos/6/os/i386/ --cost=100 %packages @base @brazilian-support @compat-libraries @core @debugging @basic-desktop @desktop-debugging @desktop-platform @development @directory-client @fonts @general-desktop @graphical-admin-tools @input-methods @internet-applications @internet-browser @java-platform @kde-desktop @legacy-x @network-file-system-client @network-tools @office-suite @portuguese-support @print-server @print-client @remote-desktop-clients @server-platform @server-policy @system-admin-tools @x11 mtools pax oddjob squashfs-tools sgpio genisoimage wodim tigervnc-server tigervnc-server-module abrt-gui qt-mysql jpackage-utils certmonger pam_krb5 krb5-workstation nscd pam_ldap nss-pam-ldapd system-config-lvm system-config-kickstart thunderbird xterm xorg-x11-xdm libXmu rdesktop mc tk tcl logwatch -biosdevname -evolution -evolution-help -evolution-mapi -evolution-data-server-devel -rhythmbox -totem-mozplugin -valgrind -crash-gcore-command -crash-trace-command -webalizer %post chkconfig ntpd on >/dev/null 2>&1 chkconfig ip6tables off >/dev/null 2>&1 chkconfig iptables off >/dev/null 2>&1 chkconfig pcscd off >/dev/null 2>&1 chkconfig bluetooth off >/dev/null 2>&1 chkconfig hplip off >/dev/null 2>&1 chkconfig ypbind on >/dev/null 2>&1 chkconfig iscsid off >/dev/null 2>&1 chkconfig iscsi off >/dev/null 2>&1 chkconfig kdump off >/dev/null 2>&1 chkconfig NetworkManager off >/dev/null 2>&1 sed -i 's/HOSTNAME=.*/HOSTNAME=localhost.localdomain/g' /etc/sysconfig/network 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://repos.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-6\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-6\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-6\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-6\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-6\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-6" > /etc/yum.repos.d/CentOS-Base.repo echo -e "root:\t\treportes@fliagreco.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/aliases\nalias_database = hash:/etc/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.6.6/samples\nreadme_directory = /usr/share/doc/postfix-2.6.6/README_FILES\n#parametros cambiados\nmydomain = cds.costadosol.tv.br\nrelayhost = 172.18.0.1" > /etc/postfix/main.cf mount -o nolock /network ln -sf /network/bootexecute6 /etc/cron.daily/bootexecute /network/bootexecute6 #vnc echo -e "Section \"Module\"\n\tLoad \"vnc\"\nEndSection\n\nSection \"Screen\"\n\tIdentifier \"Default Screen\"\n\tOption \"SecurityTypes\" \"VncAuth\"\n\tOption \"UserPasswdVerifier\" \"VncAuth\"\n\tOption \"PasswordFile\" \"/root/.vnc/passwd\"\nEndSection\n" >/etc/X11/xorg.conf.d/50-vnc.conf #Disabling ipv6 sed -i -e 's/\(NETWORKING_IPV6=\).*/\1no/' /etc/sysconfig/network echo "options ipv6 disable=1" >> /etc/modprobe.d/cds.conf #Disabling Zeroconf grep -q '^NOZEROCONF=yes' /etc/sysconfig/network || sed -i -e '/^NETWORKING=yes/a NOZEROCONF=yes' /etc/sysconfig/network #Dejar solo 2 kernels, para que no se llene el /boot sed -i 's/installonly_limit=5/installonly_limit=2/g' /etc/yum.conf #Instalacion yum -y install AdobeReader_enu jre flash-plugin qtwebkit %end