Can't get kickstar to change mirror host

Scott Chapman scott_list at mischko.com
Thu May 24 16:35:39 BST 2007


Colin Watson wrote:
> On Wed, May 23, 2007 at 10:25:09AM -0700, Scott Chapman wrote:
>> I'm doing a net install of 6.06.1 LTS Server.  It's working fairly well but I 
>> can't get it to tell the installer to go to my local mirror rather than 
>> us.archive.ubuntu.com.  Can anyone tell me what I'm doing wrong?  I've been 
>> trying all day yesterday to get this working!  I expect I'm missing something 
>> obvious.
> [...]
>> #Root password
>> rootpw --iscrypted $1$gpRiqS7i$kIVjvD0SD1ZJg6Gu6s7Kf0
> 
> Even though it's crypted, I don't usually recommend posting this
> publicly as people can then spend arbitrary amounts of CPU power trying
> to find matching plaintext.

I'll change it.

>> #This should make it use my local mirror but it doesn't work!
>> preseed mirror/country string enter information manually
>> preseed mirror/http/hostname string 192.168.2.50
>> preseed mirror/http/directory string /dapper
>> preseed mirror/suite string dapper
>> preseed mirror/http/proxy string
> 
> Have you tried just using the native Kickstart command for this?
> 
>   url http://192.168.2.50/dapper/

Same results. :(

I've also noticed that it sets up the network using DHCP twice during the 
install.  I can't see why it would do that.  It's not a big deal compared to 
getting the packages from the right place but it may be significant.

>> #Package install information
>> %packages
>> @ ubuntu-standard
>> @ openssh-server
>> @ postgresql-8.2
>> @ postgresql-client-8.2
>> @ postgresql-contrib-8.2
>> @ mysql-server-5.0
>> @ mysql-client-5.0
>> @ apache2
>> @ apache2-mpm-prefork
>> @ apache2-utils
> 
> You should drop the leading '@ ' from everything apart from
> ubuntu-standard. @ signifies a package group, but most of these are just
> packages.

Done.



More information about the Ubuntu-installer mailing list