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

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sun Oct 10 21:27:04 CEST 2010


Author: cbayle
Date: 2010-10-10 21:27:03 +0200 (Sun, 10 Oct 2010)
New Revision: 10934

Added:
   trunk/tests/openvz/config.christian
   trunk/tests/openvz/local.christian
   trunk/tests/openvz/local.christian.rinse.bpi
   trunk/tests/openvz/local.christian.rinse.conf
Log:
Add a working config exemple


Added: trunk/tests/openvz/config.christian
===================================================================
--- trunk/tests/openvz/config.christian	                        (rev 0)
+++ trunk/tests/openvz/config.christian	2010-10-10 19:27:03 UTC (rev 10934)
@@ -0,0 +1,23 @@
+#
+# In this file you can find vars that are useable 
+# both as an include in a Makefile or
+# be sourced in a shell
+# So it should only be stuffs like VAR=value
+#
+VEIDDEB=105
+VEIDCEN=110
+
+DEBVERS=6.0
+CENTVERS=5.5
+
+IPDEBBASE=192.168.0
+IPDEBDNS=192.168.0.5
+
+IPCENTOSBASE=192.168.0
+IPCENTOSDNS=192.168.0.5
+
+VZPRIVATEDIR=/data/openvz/private
+# You shouldn't change the next line, don't really work
+VZTEMPLATEDIR=/var/lib/vz/template
+
+USERCLIENT=chris

Added: trunk/tests/openvz/local.christian
===================================================================
--- trunk/tests/openvz/local.christian	                        (rev 0)
+++ trunk/tests/openvz/local.christian	2010-10-10 19:27:03 UTC (rev 10934)
@@ -0,0 +1,3 @@
+DEBMIRROR=http://christian.bayle.eu/debian
+RINSECONF=local.christian.rinse.conf
+RINSEBPI=--before-post-install $(CURDIR)/local.christian.rinse.bpi

Added: trunk/tests/openvz/local.christian.rinse.bpi
===================================================================
--- trunk/tests/openvz/local.christian.rinse.bpi	                        (rev 0)
+++ trunk/tests/openvz/local.christian.rinse.bpi	2010-10-10 19:27:03 UTC (rev 10934)
@@ -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.christian.rinse.bpi
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/tests/openvz/local.christian.rinse.conf
===================================================================
--- trunk/tests/openvz/local.christian.rinse.conf	                        (rev 0)
+++ trunk/tests/openvz/local.christian.rinse.conf	2010-10-10 19:27:03 UTC (rev 10934)
@@ -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://christian.bayle.eu/centos/5.4/os/i386/CentOS/
+mirror.amd64 = http://christian.bayle.eu/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