templates/CentOS-5.9-i386/base.sh in veewee-0.3.12 vs templates/CentOS-5.9-i386/base.sh in veewee-0.4.0
- old
+ new
@@ -1,9 +1,12 @@
# Base install
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
sed -i "s/^\(.*env_keep = \"\)/\1PATH /" /etc/sudoers
+# Use base URL for CentOS version 5.9 packages
+sed -i "s/mirrorlist=/#mirrorlist=/" /etc/yum.repos.d/CentOS-Base.repo
+sed -i "s/#baseurl=http:\/\/mirror.centos.org\/centos\/\$releasever\/\([a-z]\+\)\/.*/baseurl=http:\/\/vault.centos.org\/5.9\/\1\/i386/" /etc/yum.repos.d/CentOS-Base.repo
+
yum -y install gcc make gcc-c++ kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel sqlite-devel perl wget dkms bzip2
-yum -y erase wireless-tools gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts
-yum -y clean all
+yum -y erase gtk2 libX11 hicolor-icon-theme freetype bitstream-vera-fonts