auto url - no d-i/suite prepend

Carl Karsten carl at personnelware.com
Tue Jun 20 04:14:25 UTC 2017


summary:  I want this:
d-i preseed/run string /ec/early_command.sh
to do this:
http://$url/ec/early_command.sh

details:

http://ftp.nl.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/boot.img.gz

dd to usbtick, mount, edit syslinux.cfg

APPEND auto=true fb=false url=twist:8000

boot -
twist serves up:
/d-i/stretch/preseed.cfg  (good)

which has:
d-i preseed/run string /ec/early_command.sh

which tries to get:
http://twist.lan:8000/d-i/stretch/./ec/early_command.sh

Which is not what I want.  I want:
http://twist.lan:8000/ec/early_command.sh.

Is there something I can put for preseed/run to make that happen?

reading these docs:
https://www.debian.org/releases/stable/amd64/apbs02.html.en#preseed-auto
http://hands.com/d-i/

I get the feeling I have to touch url= or such that will break the
/d-i/stretch/preseed.cfg bit.

I also don't want to do stuff on the server side with symlinks or
re-writes.

I can just do this,
preseed/early_command ... wget http://$url/ec/early_command.sh; run it...




-- 
Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20170619/d091beb3/attachment.html>


More information about the Ubuntu-installer mailing list