summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Hicks <mhicks@mhicks-host.usersys.redhat.com>2008-07-14 15:00:18 -0400
committerMatthew Hicks <mhicks@mhicks-host.usersys.redhat.com>2008-07-14 15:01:24 -0400
commit56d261eed6a6e958deee5f088e7b7f2a0afbdada (patch)
tree0b2b86fbd18380a90a510c0f6e2d22cf63bb1689
parent72afba4751b643302adafc9018cfaca422a81ec4 (diff)
downloadtools-56d261eed6a6e958deee5f088e7b7f2a0afbdada.tar.gz
tools-56d261eed6a6e958deee5f088e7b7f2a0afbdada.tar.xz
tools-56d261eed6a6e958deee5f088e7b7f2a0afbdada.zip
More kickstart fixes
-rw-r--r--genome-respin/cobbler/yum/Fedora-genome.repo13
-rw-r--r--genome-respin/repo/conf.d/cloud-ks.cfg11
-rw-r--r--genome-respin/repo/conf.d/genome-ks.cfg7
3 files changed, 19 insertions, 12 deletions
diff --git a/genome-respin/cobbler/yum/Fedora-genome.repo b/genome-respin/cobbler/yum/Fedora-genome.repo
new file mode 100644
index 0000000..6f72c76
--- /dev/null
+++ b/genome-respin/cobbler/yum/Fedora-genome.repo
@@ -0,0 +1,13 @@
+[genome-noarch]
+name=genome-noarch
+baseurl=http://ftp.redhat.com/pub/redhat/genome/profiles/Fedora-$releasever-genome-noarch
+enabled=1
+priority=99
+gpgcheck=0
+
+[genome-i386]
+name=genome-i386
+baseurl=http://ftp.redhat.com/pub/redhat/genome/profiles/Fedora-$releasever-genome-$basearch
+enabled=1
+priority=99
+gpgcheck=0
diff --git a/genome-respin/repo/conf.d/cloud-ks.cfg b/genome-respin/repo/conf.d/cloud-ks.cfg
index 181764b..bea9fe6 100644
--- a/genome-respin/repo/conf.d/cloud-ks.cfg
+++ b/genome-respin/repo/conf.d/cloud-ks.cfg
@@ -54,12 +54,12 @@ yum
rubygem-cloudmasterd
%post
-# REMOVE: Faking out the public hostname
-echo "10.11.227.63 ftp.redhat.com" >> /etc/hosts
-
# Identify this machine as a cloud respin
/bin/touch /etc/sysconfig/cloud-respin
+# Extend the number of loopback devices allowed
+echo "options loop max_loop=255" >> /etc/modules.conf
+
# Set the certmaster in the minion configuration
sed -i "s/certmaster = certmaster/certmaster = localhost/g" /etc/certmaster/minion.conf
@@ -81,10 +81,7 @@ else
export RELEASE="Fedora"
fi
-export VERSION=`cat /etc/redhat-release | grep -o -e "release \(.*\) " | cut -d\ -f2 | cut -d. -f1`
-
# Download the genome repositories
-wget "http://ftp.redhat.com/pub/redhat/genome/profiles/Cloud__Appliance-$RELEASE-$VERSION-`uname -i`/$RELEASE-$VERSION-genome-noarch.repo" --output-document=/etc/yum.repos.d/$RELEASE-$VERSION-genome-noarch.repo
-wget "http://ftp.redhat.com/pub/redhat/genome/profiles/Cloud__Appliance-$RELEASE-$VERSION-`uname -i`/$RELEASE-$VERSION-genome-`uname -i`.repo" --output-document=/etc/yum.repos.d/$RELEASE-$VERSION-genome-`uname -i`.repo
+wget "http://ftp.redhat.com/pub/redhat/genome/yum/$RELEASE-genome.repo" --output-document=/etc/yum.repos.d/$RELEASE-genome.repo
%end
diff --git a/genome-respin/repo/conf.d/genome-ks.cfg b/genome-respin/repo/conf.d/genome-ks.cfg
index b321089..8b56e05 100644
--- a/genome-respin/repo/conf.d/genome-ks.cfg
+++ b/genome-respin/repo/conf.d/genome-ks.cfg
@@ -71,10 +71,7 @@ else
export RELEASE="Fedora"
fi
-export VERSION=`cat /etc/redhat-release | grep -o -e "release \(.*\) " | cut -d\ -f2 | cut -d. -f1`
-
-# Download the genome repositories
-wget "http://ftp.redhat.com/pub/redhat/genome/profiles/Genome__Appliance-$RELEASE-$VERSION-`uname -i`/$RELEASE-$VERSION-genome-noarch.repo" --output-document=/etc/yum.repos.d/$RELEASE-$VERSION-genome-noarch.repo
-wget "http://ftp.redhat.com/pub/redhat/genome/profiles/Genome__Appliance-$RELEASE-$VERSION-`uname -i`/$RELEASE-$VERSION-genome-`uname -i`.repo" --output-document=/etc/yum.repos.d/$RELEASE-$VERSION-genome-`uname -i`.repo
+# Download the genome yum configuration
+wget "http://ftp.redhat.com/pub/redhat/genome/yum/$RELEASE-genome.repo" --output-document=/etc/yum.repos.d/$RELEASE-genome.repo
%end