Browse files

Fix yum breakage in the laziest possible way

  • Loading branch information...
1 parent 8419b2c commit 9d712597762cde2e08b694d007432d95b7ce0579 Greg DeKoenigsberg committed Aug 2, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 bash/centos/
@@ -38,14 +38,14 @@ FULL_HOSTNAME="myhost.mydomain"
SHORT_HOST=`echo ${FULL_HOSTNAME} | cut -d'.' -f1`
hostname ${FULL_HOSTNAME}
sed -i -e "s/\(localhost.localdomain\)/${SHORT_HOST} ${FULL_HOSTNAME} \1/" /etc/hosts
-# echo -n ${FULL_HOSTNAME} >> /etc/sysconfig/network
+echo -n ${FULL_HOSTNAME} >> /etc/sysconfig/network
-${YUM} -y update
+yum -y update
-${YUM} -y install mock
+yum -y install mock
useradd builder
usermod -a -G mock builder
-${YUM} -y install git rubygem-rake ntp
+yum -y install git rubygem-rake ntp
su builder -c "cd /home/builder ; git clone git:// /home/builder/crankcase"
su builder -c "cd /home/builder/crankcase"
cd /home/builder/crankcase/build ; rake build_setup

0 comments on commit 9d71259

Please sign in to comment.