--- ks-64-nonetquery1.cfg 2021-06-23 09:41:20.671898380 -0300 +++ ks-64-nonetquery2.cfg 2022-02-07 07:57:33.397568961 -0300 @@ -14,6 +14,12 @@ authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc America/Argentina/Buenos_Aires bootloader --location=mbr --driveorder=sda +repo --name="base" --baseurl=http://repos.sopnet.com.ar/centos/5/os/x86_64/ +repo --name="updates" --baseurl=http://repos.sopnet.com.ar/centos/5/updates/x86_64/ +repo --name="extras" --baseurl=http://repos.sopnet.com.ar/centos/5/extras/x86_64/ +repo --name="epel" --baseurl=http://repos.sopnet.com.ar/epel/5/x86_64/ + + # 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 @@ -63,6 +69,9 @@ e4fsprogs -sysklogd -squid +epel-release +python26 + %post chkconfig ntpd on chkconfig avahi-daemon off @@ -107,7 +116,38 @@ echo -e "install nf_nat_sip /bin/true\ni /usr/bin/yum -y update --disablerepo=sopnet* --exclude=kernel* /usr/bin/yum -y update --exclude=kernel* /usr/bin/yum -y update +/usr/bin/yum -y install epel-release +cat >/etc/yum.repos.d/epel.repo <<__EOF__ +[epel] +name=Extra Packages for Enterprise Linux 5 - \$basearch +baseurl=http://repos.sopnet.com.ar/epel/\$releasever/\$basearch/ +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=\$basearch +failovermethod=priority +enabled=1 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL + +[epel-debuginfo] +name=Extra Packages for Enterprise Linux 5 - \$basearch - Debug +#baseurl=http://download.fedoraproject.org/pub/epel/5/\$basearch/debug +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=\$basearch +failovermethod=priority +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL +gpgcheck=1 + +[epel-source] +name=Extra Packages for Enterprise Linux 5 - \$basearch - Source +#baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=\$basearch +failovermethod=priority +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL +gpgcheck=1 +__EOF__ /usr/bin/yum -y install fstrim +/usr/bin/yum -y install python26-iniparse python26-sqlite python26-urlgrabber rpm-python26 yum26-metadata-parser yum26-python + #elimino el /boot1 y /1 /sbin/tune4fs -L /boot /dev/sda1