Re: About using static config with pxeboot/preseed

2011-10-14 Thread Ferenc Wagner
Julien Escario esca...@azylog.net writes:

 Hello,
 I'm trying to configure full automated install.
 The server is booting over pxe, get his dhcp lease and retrieve the preseed 
 file
 over http.

 Preseeding is working well but not for the net config : ip address, hostname, 
 ...

 After reboot, dhcp is still used and hostname is 'debian'.

 Is this a normal behaviour ? No way to use DHCP to get the address for d-i and
 install the server with a static address ?

Probably not easily, but you can use preseed/late_command to overwrite
/target/etc/network/interfaces if you wish.  I use initrd preseeding
with static network config during installation, and that works well.
-- 
Regards,
Feri.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ty7bu9e9@tac.ki.iif.hu



Re: About using static config with pxeboot/preseed

2011-10-14 Thread Floris Bos / Maxnet

Hi,

On 11.10.2011 17:17, Julien Escario wrote:

I'm trying to configure full automated install.
The server is booting over pxe, get his dhcp lease and retrieve the
preseed file
over http.

Preseeding is working well but not for the net config : ip address,
hostname, ...

After reboot, dhcp is still used and hostname is 'debian'.

Is this a normal behaviour ? No way to use DHCP to get the address
for d-i and
install the server with a static address ?


Yeah, we noticed that as well.
In our provisioning software (noc-ps) we simply work around that by not 
specifying the configuration in the preseed file, but feeding a static 
network configuration through kernel parameters:


==
netcfg/disable_dhcp=true netcfg/get_ipaddress=$ip 
netcfg/get_netmask=$netmask netcfg/get_gateway=$gateway

==


Regarding hostname: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606636



Yours sincerely,

Floris Bos


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e36b997e4ed5237f50a929d256850...@to-the-max.net



About using static config with pxeboot/preseed

2011-10-11 Thread Julien Escario
Hello,
I'm trying to configure full automated install.
The server is booting over pxe, get his dhcp lease and retrieve the preseed file
over http.

Preseeding is working well but not for the net config : ip address, hostname, 
...

After reboot, dhcp is still used and hostname is 'debian'.

Is this a normal behaviour ? No way to use DHCP to get the address for d-i and
install the server with a static address ?

Thanks for your help,
Julien Escario


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e945e02.4030...@azylog.net