Re: auto installation with url=file:///hd-media/d-i/
Florian Lohoff f...@zz.de writes: On Tue, Oct 28, 2014 at 02:48:10PM +0100, Cyril Brulebois wrote: Hello, Florian Lohoff f...@zz.de (2014-10-28): i'd like to have a USB stick with complete auto installation for this i put my preseed/late_script onto the usb stick - Now the d-i doesnt recognize the url=file:///hd-media instead it tries to extend the url with the domain from network autoconfiguration. Is it possible to use preseeding from the usb stick? That's covered by the installation guide: https://www.debian.org/releases/wheezy/amd64/apbs02.html.en After trying around what d-i expects to be in the URL i got it to work. url=file:///hd-media/d-i/jessie/./preseed.cfg Its a bit counterintuitive that with a http url the code automatically prepends with /d-i/suite/ which it does not with a file:// url. Well, that's my fault, probably. The code (IIRC) checks if there are fewer than 3 /'s and if so adds the default path. Of course, with file:/// urls, you've got 3 straight away. Perhaps the check for file URLs should instead say: add the default path iff the url matches ^file:///.*/$ Can anyone think of circumstances where a file:/// URL pointing at a directory, rather than a file, would be a valid thing to do? I guess that we could also adopt the same approach for other protocols, but I avoided that at the time because I thought that someone might like to have preseed files generated on the fly, on a per client basis, by specifying something like: url=http://our.magic.presseds.local/ Cheers, Phil. -- |)| Philip Hands [+44 (0)20 8530 9560] HANDS.COM Ltd. |-| http://www.hands.com/http://ftp.uk.debian.org/ |(| Hugo-Klemm-Strasse 34, 21075 Hamburg,GERMANY pgp4HFA1Af5kc.pgp Description: PGP signature
Re: auto installation with url=file:///hd-media/d-i/
Hi Phil, On Donnerstag, 30. Oktober 2014, Philip Hands wrote: I guess that we could also adopt the same approach for other protocols, but I avoided that at the time because I thought that someone might like to have preseed files generated on the fly, on a per client basis, by specifying something like: url=http://our.magic.presseds.local/ I imagine that could be nice indeed. cheers, Holger signature.asc Description: This is a digitally signed message part.
Re: auto installation with url=file:///hd-media/d-i/
On Tue, Oct 28, 2014 at 02:48:10PM +0100, Cyril Brulebois wrote: Hello, Florian Lohoff f...@zz.de (2014-10-28): i'd like to have a USB stick with complete auto installation for this i put my preseed/late_script onto the usb stick - Now the d-i doesnt recognize the url=file:///hd-media instead it tries to extend the url with the domain from network autoconfiguration. Is it possible to use preseeding from the usb stick? That's covered by the installation guide: https://www.debian.org/releases/wheezy/amd64/apbs02.html.en After trying around what d-i expects to be in the URL i got it to work. url=file:///hd-media/d-i/jessie/./preseed.cfg Its a bit counterintuitive that with a http url the code automatically prepends with /d-i/suite/ which it does not with a file:// url. Flo -- Florian Lohoff f...@zz.de signature.asc Description: Digital signature
auto installation with url=file:///hd-media/d-i/
Hi, i'd like to have a USB stick with complete auto installation for this i put my preseed/late_script onto the usb stick - Now the d-i doesnt recognize the url=file:///hd-media instead it tries to extend the url with the domain from network autoconfiguration. Is it possible to use preseeding from the usb stick? Flo -- Florian Lohoff f...@zz.de signature.asc Description: Digital signature
Re: auto installation with url=file:///hd-media/d-i/
Hello, Florian Lohoff f...@zz.de (2014-10-28): i'd like to have a USB stick with complete auto installation for this i put my preseed/late_script onto the usb stick - Now the d-i doesnt recognize the url=file:///hd-media instead it tries to extend the url with the domain from network autoconfiguration. Is it possible to use preseeding from the usb stick? That's covered by the installation guide: https://www.debian.org/releases/wheezy/amd64/apbs02.html.en Mraw, KiBi. signature.asc Description: Digital signature