summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-11-30 13:50:59 -0500
committerBill Peck <bpeck@redhat.com>2010-11-30 13:50:59 -0500
commit85e15548d5fb65199295a642023b2d9eda02c74f (patch)
tree4aee4919b10e2f1185f5c565440dda1e09b101f8
parent0bb3c26534ce3c4ccd0b1b2fc22e11bec837ed36 (diff)
parent2668e538f89b2eab3ec710535475d0649aeb6fc4 (diff)
Merge branch 'bz590951' into developbeaker-distribution-inventory-1_1-37
-rw-r--r--LabController/kickstarts/Fedora.ks11
-rw-r--r--LabController/kickstarts/RedHatEnterpriseLinux6.ks11
-rw-r--r--LabController/kickstarts/RedHatEnterpriseLinuxClient5.ks11
-rw-r--r--LabController/kickstarts/RedHatEnterpriseLinuxServer5.ks11
4 files changed, 44 insertions, 0 deletions
diff --git a/LabController/kickstarts/Fedora.ks b/LabController/kickstarts/Fedora.ks
index affb923..3502bb2 100644
--- a/LabController/kickstarts/Fedora.ks
+++ b/LabController/kickstarts/Fedora.ks
@@ -60,6 +60,17 @@ timezone $getVar('timezone', 'America/New_York')
# Install OS instead of upgrade
install
+# Add Custom Repos
+#if $getVar('customrepos','') != ''
+#set $i = 0
+#for $repo in $getVar('customrepos','').split('|')
+#if $repo.find(",") != -1
+#set (reponame, repourl) = $repo.split(',', 1)
+repo --name=$reponame --baseurl=$repourl
+#end if
+#end for
+#end if
+
$SNIPPET("rhts_devices")
$SNIPPET("rhts_partitions")
$SNIPPET("Fedora")
diff --git a/LabController/kickstarts/RedHatEnterpriseLinux6.ks b/LabController/kickstarts/RedHatEnterpriseLinux6.ks
index e210ecc..25dc1e8 100644
--- a/LabController/kickstarts/RedHatEnterpriseLinux6.ks
+++ b/LabController/kickstarts/RedHatEnterpriseLinux6.ks
@@ -82,6 +82,17 @@ repo --name=$reponame --cost=100 --baseurl=http://$server/distros$repourl
#end for
#end if
+# Add Custom Repos
+#if $getVar('customrepos','') != ''
+#set $i = 0
+#for $repo in $getVar('customrepos','').split('|')
+#if $repo.find(",") != -1
+#set (reponame, repourl) = $repo.split(',', 1)
+repo --name=$reponame --cost=100 --baseurl=$repourl
+#end if
+#end for
+#end if
+
$SNIPPET("rhts_devices")
$SNIPPET("rhts_partitions")
$SNIPPET("RedHatEnterpriseLinux6")
diff --git a/LabController/kickstarts/RedHatEnterpriseLinuxClient5.ks b/LabController/kickstarts/RedHatEnterpriseLinuxClient5.ks
index e0c271d..909e1fa 100644
--- a/LabController/kickstarts/RedHatEnterpriseLinuxClient5.ks
+++ b/LabController/kickstarts/RedHatEnterpriseLinuxClient5.ks
@@ -85,6 +85,17 @@ repo --name=$reponame --baseurl=http://$server/distros$repourl
#end for
#end if
+# Add Custom Repos
+#if $getVar('customrepos','') != ''
+#set $i = 0
+#for $repo in $getVar('customrepos','').split('|')
+#if $repo.find(",") != -1
+#set (reponame, repourl) = $repo.split(',', 1)
+repo --name=$reponame --baseurl=$repourl
+#end if
+#end for
+#end if
+
$SNIPPET("rhts_scsi_ethdevices")
$SNIPPET("rhts_partitions")
$SNIPPET("RedHatEnterpriseLinuxClient5")
diff --git a/LabController/kickstarts/RedHatEnterpriseLinuxServer5.ks b/LabController/kickstarts/RedHatEnterpriseLinuxServer5.ks
index c1664e1..354d4f8 100644
--- a/LabController/kickstarts/RedHatEnterpriseLinuxServer5.ks
+++ b/LabController/kickstarts/RedHatEnterpriseLinuxServer5.ks
@@ -87,6 +87,17 @@ repo --name=$reponame --baseurl=http://$server/distros$repourl
#end for
#end if
+# Add Custom Repos
+#if $getVar('customrepos','') != ''
+#set $i = 0
+#for $repo in $getVar('customrepos','').split('|')
+#if $repo.find(",") != -1
+#set (reponame, repourl) = $repo.split(',', 1)
+repo --name=$reponame --baseurl=$repourl
+#end if
+#end for
+#end if
+
$SNIPPET("rhts_scsi_ethdevices")
$SNIPPET("rhts_partitions")
$SNIPPET("RedHatEnterpriseLinuxServer5")