From e556ebdbf60f2700cb0035cf27fb274012ca7d38 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Mon, 17 May 2010 20:02:18 +0200 Subject: [PATCH] Use old-releases.ubuntu.com as default mirror for Edgy, Feisty and Gutsy; add default mirror for Dapper --- bin/xen-create-image | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/xen-create-image b/bin/xen-create-image index 0aa7d99..6114a38 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -1233,9 +1233,12 @@ sub setupDefaultOptions $CONFIG{ 'mirror_'.$debdist } = 'http://archive.debian.org/debian'; } # Initialize per distribution mirror defaults: Ubuntu - foreach my $ubuntudist (qw(feisty gutsy hardy intrepid jaunty karmic lucid maverick)) { + foreach my $ubuntudist (qw(dapper hardy intrepid jaunty karmic lucid maverick)) { $CONFIG{ 'mirror_'.$ubuntudist } = 'http://archive.ubuntu.com/ubuntu'; } + foreach my $ubuntudist (qw(edgy feisty gutsy)) { + $CONFIG{ 'mirror_'.$ubuntudist } = 'http://old-releases.ubuntu.com/ubuntu'; + } $CONFIG{ 'arch' } = ''; $CONFIG{ 'fs' } = 'ext3'; $CONFIG{ 'force' } = 0;