[Fusionforge-commits] r10497 - trunk/tests/openvz

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Sep 16 14:54:56 CEST 2010


Author: cbayle
Date: 2010-09-16 14:54:55 +0200 (Thu, 16 Sep 2010)
New Revision: 10497

Added:
   trunk/tests/openvz/local.g-virtual05
   trunk/tests/openvz/local.g-virtual05.rinse.bpi
   trunk/tests/openvz/local.g-virtual05.rinse.conf
Log:
Sample customization for a server named g-virtual05


Added: trunk/tests/openvz/local.g-virtual05
===================================================================
--- trunk/tests/openvz/local.g-virtual05	                        (rev 0)
+++ trunk/tests/openvz/local.g-virtual05	2010-09-16 12:54:55 UTC (rev 10497)
@@ -0,0 +1,3 @@
+DEBMIRROR=http://g-rub.rd.francetelecom.fr:3142/debian
+RINSECONF=local.g-virtual05.rinse.conf
+RINSEBPI=--before-post-install $(CURDIR)/local.g-virtual05.rinse.bpi

Added: trunk/tests/openvz/local.g-virtual05.rinse.bpi
===================================================================
--- trunk/tests/openvz/local.g-virtual05.rinse.bpi	                        (rev 0)
+++ trunk/tests/openvz/local.g-virtual05.rinse.bpi	2010-09-16 12:54:55 UTC (rev 10497)
@@ -0,0 +1,19 @@
+#! /bin/sh
+# This file change the default mirror in centos
+# It comments mirrorlist in etc/yum.repos.d/CentOS-Base.repo
+# It adds baseurl=http://$server so $server is used as a mirror
+echo "========================================="
+echo $1
+case $dist in
+	centos-5)
+		echo $mirror
+		server=`echo $mirror | cut -d/ -f3`
+		echo "Disable mirrorlists"
+		sed -i -e "s/^mirrorlist=/#mirrorlist=/" $1/etc/yum.repos.d/CentOS-Base.repo
+		echo "Setup baseurl on server $server"
+		sed -i -e "s!#baseurl=http://mirror.centos.org!baseurl=http://$server!" $1/etc/yum.repos.d/CentOS-Base.repo
+		rm -f $1/etc/mtab
+		ln -s /proc/mounts $1/etc/mtab
+	;;
+esac
+echo "========================================="


Property changes on: trunk/tests/openvz/local.g-virtual05.rinse.bpi
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/tests/openvz/local.g-virtual05.rinse.conf
===================================================================
--- trunk/tests/openvz/local.g-virtual05.rinse.conf	                        (rev 0)
+++ trunk/tests/openvz/local.g-virtual05.rinse.conf	2010-09-16 12:54:55 UTC (rev 10497)
@@ -0,0 +1,84 @@
+#
+#  /etc/rinse/rinse.conf
+#
+#  Contains the list of servers to download our initial collection of
+# packages from.
+#
+# Steve
+# --
+#
+
+
+
+[centos-4]
+mirror       = http://mirror.bytemark.co.uk/centos/4/os/i386/CentOS/RPMS/
+mirror.amd64 = http://mirror.bytemark.co.uk/centos/4/os/x86_64/CentOS/RPMS/
+
+
+[centos-5]
+mirror = http://g-virtual02.rd.francetelecom.fr/centos/5.4/os/i386/CentOS/
+mirror.amd64 = http://g-virtual02.rd.francetelecom.fr/centos/5.4/os/x86_64/CentOS/
+#mirror       = http://mirror.bytemark.co.uk/centos/5/os/i386/CentOS/
+#mirror.amd64 = http://mirror.bytemark.co.uk/centos/5/os/x86_64/CentOS/
+
+
+[fedora-core-4]
+mirror       = http://ftp.heanet.ie/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/
+mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/4/x86_64/os/Fedora/RPMS/
+
+
+[fedora-core-5]
+mirror       = http://ftp.heanet.ie/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/
+mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/5/x86_64/os/Fedora/RPMS/
+
+
+[fedora-core-6]
+mirror       = http://ftp.heanet.ie/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/
+mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/6/x86_64/os/Fedora/RPMS/
+
+
+[fedora-core-7]
+mirror       = http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/i386/os/Fedora/
+mirror.amd64 = http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/
+
+
+[fedora-core-8]
+mirror       = http://mirror.bytemark.co.uk/fedora/linux/releases/8/Fedora/i386/os/Packages/
+mirror.amd64 = http://mirror.bytemark.co.uk/fedora/linux/releases/8/Fedora/x86_64/os/Packages/
+
+
+
+[fedora-core-9]
+mirror       = http://mirror.bytemark.co.uk/fedora/linux/releases/9/Fedora/i386/os/Packages/
+mirror.amd64 = http://mirror.bytemark.co.uk/fedora/linux/releases/9/Fedora/x86_64/os/Packages/
+
+
+[fedora-core-10]
+mirror       = http://mirrors.vexs.net/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/
+mirror.amd64 = http://mirrors.vexs.net/pub/fedora/linux/releases/10/Fedora/x86_64/os/Packages/
+
+
+[opensuse-10.1]
+mirror       = http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/SL-10.1/inst-source/suse/i686/
+mirror.amd64 = http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/SL-10.1/inst-source/suse/x86_64/
+
+
+[opensuse-10.2]
+mirror       = http://download.opensuse.org/distribution/10.2/repo/oss/suse/i686/
+mirror.amd64 = http://download.opensuse.org/distribution/10.2/repo/oss/suse/x86_64/
+
+
+[opensuse-10.3]
+mirror       = http://download.opensuse.org/distribution/10.3/repo/oss/suse/i686/
+mirror.amd64 = http://download.opensuse.org/distribution/10.3/repo/oss/suse/x86_64/
+
+
+[opensuse-11.0]
+mirror       = http://download.opensuse.org/distribution/11.0/repo/oss/suse/i686/
+mirror.amd64 = http://download.opensuse.org/distribution/11.0/repo/oss/suse/x86_64/
+
+
+[opensuse-11.1]
+mirror       = http://download.opensuse.org/distribution/11.1/repo/oss/suse/i686/
+mirror.amd64 = http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/
+




More information about the Fusionforge-commits mailing list