[pve-devel] r5745 - in pve-common/trunk/data: . PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Mar 23 08:55:44 CET 2011


Author: dietmar
Date: 2011-03-23 08:55:44 +0100 (Wed, 23 Mar 2011)
New Revision: 5745

Modified:
   pve-common/trunk/data/ChangeLog
   pve-common/trunk/data/PVE/Tools.pm
Log:
	* PVE/Tools.pm (debmirrors): return list of debian mirrors (per
	country).



Modified: pve-common/trunk/data/ChangeLog
===================================================================
--- pve-common/trunk/data/ChangeLog	2011-03-23 07:27:57 UTC (rev 5744)
+++ pve-common/trunk/data/ChangeLog	2011-03-23 07:55:44 UTC (rev 5745)
@@ -1,3 +1,8 @@
+2011-03-23  Proxmox Support Team  <support at proxmox.com>
+
+	* PVE/Tools.pm (debmirrors): return list of debian mirrors (per
+	country).
+
 2011-03-21  Proxmox Support Team  <support at proxmox.com>
 
 	* PVE/INotify.pm (read_active_workers): simply skip entries we

Modified: pve-common/trunk/data/PVE/Tools.pm
===================================================================
--- pve-common/trunk/data/PVE/Tools.pm	2011-03-23 07:27:57 UTC (rev 5744)
+++ pve-common/trunk/data/PVE/Tools.pm	2011-03-23 07:55:44 UTC (rev 5745)
@@ -374,6 +374,51 @@
     die "write to '$filename' failed\n" if !$res;
 }
 
+sub debmirrors {
+
+    return {
+	'at' => 'ftp.at.debian.org',
+	'au' => 'ftp.au.debian.org',
+	'be' => 'ftp.be.debian.org',
+	'bg' => 'ftp.bg.debian.org',
+	'br' => 'ftp.br.debian.org',
+	'ca' => 'ftp.ca.debian.org',
+	'ch' => 'ftp.ch.debian.org',
+	'cl' => 'ftp.cl.debian.org',
+	'cz' => 'ftp.cz.debian.org',
+	'de' => 'ftp.de.debian.org',
+	'dk' => 'ftp.dk.debian.org',
+	'ee' => 'ftp.ee.debian.org',
+	'es' => 'ftp.es.debian.org',
+	'fi' => 'ftp.fi.debian.org',
+	'fr' => 'ftp.fr.debian.org',
+	'gr' => 'ftp.gr.debian.org',
+	'hk' => 'ftp.hk.debian.org',
+	'hr' => 'ftp.hr.debian.org',
+	'hu' => 'ftp.hu.debian.org',
+	'ie' => 'ftp.ie.debian.org',
+	'is' => 'ftp.is.debian.org',
+	'it' => 'ftp.it.debian.org',
+	'jp' => 'ftp.jp.debian.org',
+	'kr' => 'ftp.kr.debian.org',
+	'mx' => 'ftp.mx.debian.org',
+	'nl' => 'ftp.nl.debian.org',
+	'no' => 'ftp.no.debian.org',
+	'nz' => 'ftp.nz.debian.org',
+	'pl' => 'ftp.pl.debian.org',
+	'pt' => 'ftp.pt.debian.org',
+	'ro' => 'ftp.ro.debian.org',
+	'ru' => 'ftp.ru.debian.org',
+	'se' => 'ftp.se.debian.org',
+	'si' => 'ftp.si.debian.org',
+	'sk' => 'ftp.sk.debian.org',
+	'tr' => 'ftp.tr.debian.org',
+	'tw' => 'ftp.tw.debian.org',
+	'gb' => 'ftp.uk.debian.org',
+	'us' => 'ftp.us.debian.org',
+    };
+}
+
 sub kvmkeymaps {
     return {
 	'dk'     => ['Danish', 'da', 'qwerty/dk-latin1.kmap.gz', 'dk', 'nodeadkeys'],




More information about the pve-devel mailing list