RE: Lenny 501 and presseding
- To: <firstname.lastname@example.org>
- Subject: RE: Lenny 501 and presseding
- From: Frédéric DONNAT <email@example.com>
- Date: Wed, 20 May 2009 11:13:24 +0200
- Message-id: <B71D45D144177F4DAC33EB645FFC73134D1D9A@mib-sbs2.mailinblack.local>
- In-reply-to: <B71D45D144177F4DAC33EB645FFC73134D19A0@mib-sbs2.mailinblack.local>
- References: <B71D45D144177F4DAC33EB645FFC731345D203@mib-sbs2.mailinblack.local> <firstname.lastname@example.org> <B71D45D144177F4DAC33EB645FFC73134D192B@mib-sbs2.mailinblack.local> <email@example.com> <B71D45D144177F4DAC33EB645FFC73134D19A0@mib-sbs2.mailinblack.local>
I could sucessfully update my keyboard option.. using isolinux option.
So everything is quite fine except for the system hostname.
My preseed file is as follow:
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_nameservers string 192.168.0.1
d-i netcfg/get_ipaddress string 192.168.0.13
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.0.1
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string mibox-v4
d-i netcfg/get_domain string mailinblack.dev
and the domainname seems to be good, but the hostname file remains empty... ;(
Could someone points me in the right direction to solve the problem?
I see the following comment.. but how can I be sure it is really disabled ?
# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
De : Frédéric DONNAT [mailto:firstname.lastname@example.org]
Envoyé : mercredi 13 mai 2009 09:59
À : email@example.com
Objet : RE: Lenny 501 and presseding
So here is my piece of code in preseed file:
d-i preseed/late_command string mount -o bind /cdrom /target/cdrom; \
in-target /cdrom/mailinblack/install.sh; \
Now I'm facing new problems... ;(
The keymap and the hostname are not properly set...
- Installation process: in the isolinux.cfg file I use: console-keymaps-at/keymap=fr
This works fine with debian etch but fails with lenny.
- Installation: in the preseed file I set:
d-i console-keymaps-at/keymap select fr
but this doest not set the keymap.. in debian lenny (it's ok in etch).. Shuld I set set 'console-keymaps-at/keymap' too?
d-i netcfg/get_hostname string my_hostname
d-i netcfg/get_domain string my_domain
And the hostname is not properly set..
The domain is set in the /etc/network/interface /etc/resolv.conf files but the /etc/hostname is empty..
I have disable the dhcp configuration using 'd-i netcfg/disable_dhcp boolean true' to avoid the dhcp setting precedence.. Should I also set ' d-i netcfg/dhcp_options select Configure network manually' ?
If needed I could provide the installer logs.
De : Frans Pop [mailto:firstname.lastname@example.org]
Envoyé : mardi 12 mai 2009 17:05
À : email@example.com
Cc : Frédéric DONNAT
Objet : Re: Lenny 501 and presseding
On Tuesday 12 May 2009, Frédéric DONNAT wrote:
> I could get ride of my problem with a mount:
> d-i preseed/late_command string mount -o bind /cdrom /target/cdrom;
> in-target ..etc..
> In fact, the cdrom is mounted on the install system but it seems that
> when we chroot this bind is missing... ;(
Ah, yes. That is correct. For Lenny the cd is only mounted in the /target
environment on demand by apt-cdrom in order to be able to support CD
changing during the installation of packages.
Make sure you unmount the CD again at the end of your script or things
might blow up (although that's somewhat unlikely to happen at the late
stage preseed/late is executed).
To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org