Ooooh, yes, yes, yes!!!! Thanks a lot! It works!!! Thanks, thanks a lot!! Finally, I've done this:
if substring (option vendor-class-identifier, 0, 3) != "d-i" { filename "http://192.168.1.1/pxelinux.0"; } else { filename " http://192.168.1.1/mountpointisodebian/preseed/myfile.seed"; } 2014-11-13 6:47 GMT+01:00 Geert Stappers <stapp...@stappers.nl>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On Thu, Nov 13, 2014 at 03:00:26AM +0000, Oscar Torrente wrote: > > > > | | Hello. > > I know the typical setting to run a PXE server is the combination of > > DHCP+TFTP+HTTP/FTP/NFS... servers, but my setting only must consist > > in a DHCP+HTTP server (both in one machine with ip 192.168.1.1). So > > my dhcpd.conf has these lines: > > subnet 192.168.1.0 netmask 255.255.255.0 { > > range 192.168.1.5 192.168.1.10; > > option subnet-mask 255.255.255.0; > > ... > > filename "http://192.168.1.1/pxelinux.0"; > > } > > I use iPXE (http://www.ipxe.org) -which can get pxelinux.0 from a HTTP > > server- to boot my clients. They see a pxelinux menu with an option > > to run the installer. Its "APPEND" line is like this: > > APPEND url=http://192.168.1.1/mountpointisodebian/preseed/myfile.seed > ... > > Everythings seems going well during installation until I get a error > > message like "The installer failed to process preconfiguration file > > from http://192.168.1.1/pxelinux.0." > > I've read in B.2.5 chapter from > > https://www.debian.org/releases/stable/amd64/apbs02.html.en that if > > dhcpd.conf there is a HTTP url, the installer assumes it is the url of > > a preseed file. I though that appending the "url" preseed parameter > > this behaviour would be overriden, but it is not!!!! What can I do > > to tell the installer to forget using the url from dhcpd.conf as a > > preseed file's url?????? > > from > https://www.debian.org/releases/stable/amd64/apbs02.html.en#preseed-dhcp > > if substring (option vendor-class-identifier, 0, 3) = "d-i" { > filename "http://host/preseed.cfg"; > } > > > > I'm really desperated. > > I think that you didn't know that there a two DHCP requests during > a netboot install. One from the bootROM and one from debian-installer. > ( CDROM (and USB memory stick) installs only have the d-i DHCP request ) > > Make sure that your d-i client gets > http://192.168.1.1/mountpointisodebian/preseed/myfile.seed > from your DHCP server. Then you can avoid > APPEND url=http://192.168.1.1/mountpointisodebian/preseed/myfile.seed ... > > > > Thanks!!!! > > You are welcome. Reporting your milage would be nice. > > > Groeten > Geert Stappers > - -- > Leven en laten leven > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > > iQIcBAEBCAAGBQJUZEWkAAoJECE10SPYwZvsa9cQALDbkMe0sncIvhAgmy9cyvYd > 9BI/qi3YdglzH3czEphwz8N7hpUSnfzN5aaUr/Ij87jEmqpk5PbOg3Fu6E9AHjgW > tjUn0Bh41g2JwDgsPZavqBPr2K8Zuj4yeSgRqmDOKxYK7zGOQsvuG4RbqhPL7IIf > QRSUW4UjaHGo+Cvnlv0akfTYoMRjGfhPszMKWmwrYXf21IwM0CRBrKBDdK2wgW+G > 4VVpEmANs7Y2SFtcSsjqAYs0k0MIvINF6CLOfRUq1jB3/mWIOA6NrGGUyU+7TXEQ > EKxHPaxMwilXJwmM55NPMQ+NkETvSSev3TQXNFiq6nR+Hx4GGUPeGJ1Rb6L/Danq > L0ddrB4sxZQ87Th60ge2qjWvNKj9vXwSFNB3ORtTEWOqqzZOA/6FAoP2lsahUMan > Bnru7s3tyXpRFUekGSnjLMzadrerRNbiO7LTzfT1igVZw1j5KH2Wl2mJ+GSxQAzk > NxXHgQ4XTPVoI0PPK4LUIw9cZy2ikO9JCuN5CRbcNEdlz8hy8dRSPkAnaHQEiS+n > PnNEQVi7Wr5MKH/y2a+sQWpW3AcRnYLSfFj8YMXpDXgD0omP+Vs0TTert4oRwtVb > hRP8Mhv554PUdRljYNEViYEOUkzEi1YOIqhsSxXW7y1lxWb+RtzXUBOiEpLfIrIE > UdSai8GCkfiYMiproavI > =nnPq > -----END PGP SIGNATURE----- > > > -- > To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: https://lists.debian.org/20141113054752.gi1...@gpm.stappers.nl > >