So it is easier to install packages, rather than
'manually' adding proper apt repository information.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 shared/unattended/Debian-6.0.7.preseed | 5 ++++-
 shared/unattended/Ubuntu-11-04.preseed | 3 ++-
 shared/unattended/Ubuntu-11-10.preseed | 3 ++-
 shared/unattended/Ubuntu-12-04.preseed | 3 ++-
 shared/unattended/Ubuntu-12-10.preseed | 3 ++-
 5 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/shared/unattended/Debian-6.0.7.preseed 
b/shared/unattended/Debian-6.0.7.preseed
index 9d2dceb..9685ee7 100644
--- a/shared/unattended/Debian-6.0.7.preseed
+++ b/shared/unattended/Debian-6.0.7.preseed
@@ -25,7 +25,10 @@ d-i passwd/make-user boolean false
 d-i passwd/root-password password 12345678
 d-i passwd/root-password-again password 12345678
 
-d-i apt-setup/use_mirror boolean false
+d-i mirror/country string manual
+d-i mirror/http/hostname string http.us.debian.org
+d-i mirror/http/directory string /debian
+d-i mirror/http/proxy string
 
 tasksel tasksel/first multiselect standard
 
diff --git a/shared/unattended/Ubuntu-11-04.preseed 
b/shared/unattended/Ubuntu-11-04.preseed
index fafaa09..f3efc26 100644
--- a/shared/unattended/Ubuntu-11-04.preseed
+++ b/shared/unattended/Ubuntu-11-04.preseed
@@ -25,7 +25,8 @@ d-i passwd/make-user boolean false
 d-i passwd/root-password password 12345678
 d-i passwd/root-password-again password 12345678
 
-d-i apt-setup/use_mirror boolean false
+d-i mirror/http/mirror select us.archive.ubuntu.com
+d-i mirror/udeb/components multiselect main, restricted, universe, multiverse
 
 tasksel tasksel/first multiselect standard
 
diff --git a/shared/unattended/Ubuntu-11-10.preseed 
b/shared/unattended/Ubuntu-11-10.preseed
index fafaa09..f3efc26 100644
--- a/shared/unattended/Ubuntu-11-10.preseed
+++ b/shared/unattended/Ubuntu-11-10.preseed
@@ -25,7 +25,8 @@ d-i passwd/make-user boolean false
 d-i passwd/root-password password 12345678
 d-i passwd/root-password-again password 12345678
 
-d-i apt-setup/use_mirror boolean false
+d-i mirror/http/mirror select us.archive.ubuntu.com
+d-i mirror/udeb/components multiselect main, restricted, universe, multiverse
 
 tasksel tasksel/first multiselect standard
 
diff --git a/shared/unattended/Ubuntu-12-04.preseed 
b/shared/unattended/Ubuntu-12-04.preseed
index fafaa09..f3efc26 100644
--- a/shared/unattended/Ubuntu-12-04.preseed
+++ b/shared/unattended/Ubuntu-12-04.preseed
@@ -25,7 +25,8 @@ d-i passwd/make-user boolean false
 d-i passwd/root-password password 12345678
 d-i passwd/root-password-again password 12345678
 
-d-i apt-setup/use_mirror boolean false
+d-i mirror/http/mirror select us.archive.ubuntu.com
+d-i mirror/udeb/components multiselect main, restricted, universe, multiverse
 
 tasksel tasksel/first multiselect standard
 
diff --git a/shared/unattended/Ubuntu-12-10.preseed 
b/shared/unattended/Ubuntu-12-10.preseed
index 709ccba..38df70e 100644
--- a/shared/unattended/Ubuntu-12-10.preseed
+++ b/shared/unattended/Ubuntu-12-10.preseed
@@ -25,7 +25,8 @@ d-i passwd/make-user boolean false
 d-i passwd/root-password password 12345678
 d-i passwd/root-password-again password 12345678
 
-d-i apt-setup/use_mirror boolean false
+d-i mirror/http/mirror select us.archive.ubuntu.com
+d-i mirror/udeb/components multiselect main, restricted, universe, multiverse
 
 tasksel tasksel/first multiselect standard
 
-- 
1.8.2

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to