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

2014-06-08 Thread Tamas Tarjanyi
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/775670

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-03-25 Thread Deekshith John Baby
I got my mirror working after adding this line for selecting the local
mirror, by default the preseed file is selecting cc.archive.ubuntu.com
by adding the below line we can redirect the control to our local
mirror.

d-i mirror/http/mirror select my.local.mirror
d-i mirror/country  string  manual
d-i mirror/http/hostnamestring  my.local.mirror
d-i mirror/http/directory   string  /my/local/mirror-path
d-i mirror/http/proxy   string

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-10-09 Thread Sebastien Clement
This worked for me with Precise :

d-i mirror/country string manual
d-i mirror/http/hostname string local.mirror.fqdn
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i mirror/http/mirror select local.mirror.fqdn

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2013-06-21 Thread Zubin
Does anybody have an update on this?

I created a mirror repository of precise, both 32 bit and 64bit  on one
of my local servers using apt-mirror.  I'm trying to do a preseed
install from it, but it fails to work...

It says:

[!!] Download installer components

The installer failed to download a file from the mirror.  This may be a
problem with your network, or with the mirror.  You can choose to retry
the download, select a different mirror, or cancel and choose another
installation method.

Downloading a file failed:

- Retry
- Change mirror
- Cancel

My Preseed file looks like this:

d-i debian-installer/locale string en_US
d-i console-keymaps-at/keymap select us

# NETWORK

# --- Turn on the following to do manual network config --- #
d-i netcfg/disable_autoconfig boolean true
# - #

d-i netcfg/get_nameservers string 64.28.104.51
d-i netcfg/get_ipaddress string 207.200.57.126
d-i netcfg/get_netmask string 255.255.255.224
d-i netcfg/get_gateway string 207.200.57.97 
d-i netcfg/choose_interface select eth0
d-i netcfg/disable_dhcp boolean true  
d-i netcfg/dhcp_options select Configure network manually
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string test  
d-i netcfg/get_hostname seen false
d-i netcfg/get_domain string virt-install

d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/hostname string ubuntu.myserver.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string


d-i clock-setup/utc boolean true
d-i time/zone string America/Chicago
d-i clock-setup/ntp boolean true

#  Partitioning  #
d-i partman-auto/disk string /dev/vda
d-i partman-lvm/devide_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true

d-i partman-auto/method string regular
d-i partman-lvm/confirm boolean true

d-i partman-auto-lvm/guided_size string max

# --- Installation all in one partition --- #
#d-i partman-auto/choose_recipe select atomic

# --- Custom Partitioning --- #

# --- One Big Partition --- #


d-i partman-auto/expert_recipe string   \
condpart :: \
1024 2048 1000 ext4 \
$primary{ } $bootable{ }\
method{ format } format{ }  \
use_filesystem{ } filesystem{ ext4 }\
mountpoint{ / } \
.   \
2048 1024 2048 linux-swap   \
method{ swap } format{ }\
.   \


d-i partman/default_filesystem string ext4

d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

#  Users  #
d-i passwd/user-fullname string Hello World
d-i passwd/username string helloworld
d-i passwd/user-password-crypted password 
$abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef
d-i user-setup/allow-password-weak boolean true

tasksel tasksel/first multiselect standard
d-i pkgsel/include string openssh-server vim sysstat ntp ntpdate munin 
munin-node munin-common snmp snmpd aptitude bash-completion bash bwm-ng acpid 
acpi-support
d-i pkgsel/upgrade select safe-upgrade
d-i pkgsel/language-packs multiselect en
d-i pkgsel/update-policy select none
d-i pkgsel/updatedb boolean false

popularity-contest popularity-contest/participate boolean false

d-i finish-install/keep-consoles boolean true

d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note


# --- The following Line allows networking configuration of the vm to be set 
from a Network Preseed --- #
#d-i preseed/early_command string /bin/killall.sh; /bin/netcfg
# 
-
 #


d-i preseed/late_command string \
chroot /target wget download.myserver.com/ttyS0.conf ; \
chroot /target mv ttyS0.conf /etc/init ; \
chroot /target wget download.myserver.com/default-script ; \
chroot /target chmod +x default-script ; \
chroot /target ./default-script




I've substituted out all sensitive information ;-)

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

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

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

-- 
ubuntu-bugs mailing list

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

2013-03-11 Thread Malte S. Stretz
I can confirm that it looks like this doesn't work (anymore) in precise.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-08-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: preseed (Ubuntu)
   Status: New = Confirmed

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-08-15 Thread Leonardo Borda
Hi Alex,

Could you send me the preseed file you're using.
I believe it does not work anymore on 12.04.

Leo

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-06 Thread Alex L. Demidov
I've finally got my local mirror working. 
It seems that setting 'mirror/country' to country code overrides 
'mirror/http/hostname'. 
Setting it to 'manual' fixed it.  There is my set of options which is working:

d-i mirror/country string manual
d-i mirror/http/hostname string local.mirror.fqdn
d-i mirror/http/directory string /ubuntu-11.04-server-i386
d-i mirror/http/proxy string
d-i apt-setup/security_host string  local.mirror.fqdn

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs