[Bug 775670] Re: Using local mirror fails, preseed always hits us.archive.ubuntu.com

Tamas Tarjanyi 775670 at bugs.launchpad.net
Sun Jun 8 21:33:23 UTC 2014


My goal would be to install ubuntu in a kvm virtual machine totally automated.
Must be my fault but for some reason I am not able to make a fully automated installation. 
Whatever I try to configure as an install mirror server at the end it always goes to 91.189.88.153 (cherufe.canonical.com)
But this server was reported to be down in many places and this breaks the whole installation.

I have attached a script and some config file to test this.
If you untar it into a directory than you can call

./net.sh simple

Please check the script - it is simple - before you run it. This will
create a kvm virtual machine via libvirt and starts an installation. The
installation should use hu.archive.ubuntu.com but wireshark shows it
tries to use cherufe.canonical.com.

I tried many preseed configuration option in the *.cfg files. But none
of these were working. All the tested ubuntu releases - precise, trusty,
utopic - seems to be wrong. It seems debian squeeze is also bad however
debian wheezy seems to be good.

If somebody could tell me what is wrong or could confirm that this is
really a bug I would be grateful.

Note: Using debconf/priority=high gives me a chance to select a mirror.
After I select Hungary as a mirror everything works fine.


** Attachment added: "autoinstall.tar.gz"
   https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/775670/+attachment/4127839/+files/autoinstall.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to preseed in Ubuntu.
https://bugs.launchpad.net/bugs/775670

Title:
  Using local mirror fails, preseed always hits us.archive.ubuntu.com

Status in “preseed” package in Ubuntu:
  Confirmed

Bug description:
  At some point, using a preseed to select a local mirror has stopped working.  
  I'm attempting to use a preseed on Ubuntu 11.04 Natty Narwhal.  Using the following preseed language:

  d-i mirror/protocol         string http
  d-i mirror/country          string US
  d-i mirror/http/mirror      string local-mirror.url
  d-i mirror/http/hostname    string local-mirror.url
  d-i apt-setup/security_host string local-mirror.url
  d-i mirror/http/directory   string /ubuntu
  d-i mirror/suite            string natty
  d-i mirror/http/proxy	    string 

  I still get us.archive.ubuntu.com as my mirror, which completely
  defeats the purpose of having a local mirror.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/775670/+subscriptions



More information about the foundations-bugs mailing list