Hi Diederik,
thank you for notifying me of this bug report over at #1010878.
On Sat, 19 Oct 2019 15:53:22 +0200 Jonathan Leroy - Inikup <jonathan@inikup.com> wrote:
> This bug is still present in Buster.
> Very simple workaround:
>
> d-i preseed/early_command string echo "$(debconf-get preseed/url)" >
> /var/run/preseed.last_location
You probably already saw Phils reply to #1010878 but if anybody else is reading
this I also wanted to quickly record what I did to avoid the problem.
So, I'm running d-i in qemu with preseed/url=http://10.0.2.2:8000 and serve my
current directory with "python3 -m http.server". Then in
d-i/bullseye/preseed.cfg I have:
d-i preseed/run string fetch.sh
d-i preseed/late_command string sh /tmp/setup-testbed /target
My d-i/bullseye/fetch.sh then runs preseed_fetch:
#!/bin/sh
preseed_fetch setup-testbed /tmp/setup-testbed
And that will download d-i/bullseye/setup-testbed into /tmp/setup-testbed to
make it available for my preseed/late_command.
Thanks!
cheers, joschAttachment:
signature.asc
Description: signature