[Bug 447890] Re: preseed/run supposed to be executed at late_command
audun at gangsto.cz
Wed May 4 08:58:52 UTC 2016
I'd like to dispute this bug, since the link to the documentation does
not actually say that the preseed/run command should be run at the same
time as late_command (anymore? this is an old bug)
At the present writing time, the documentation goes on about how the
preseed/run command can be used to run a script to modify preseed
parameters and to redo the network configuration.
This makes sense to do as early in the installer as possible, for
example to redo network configuration, perform strange and unusual
partitioning and other useful and less useful things to have maximum
freedom when installing ubuntu.
I recommend using the preseed/late_command instead, for example like
d-i preseed/late_command string chroot /target sh -c "/usr/bin/wget -O
/tmp/late_script http://preseedserver/late_script && /bin/sh -x
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
preseed/run supposed to be executed at late_command
Status in debian-installer package in Ubuntu:
Binary package hint: debian-installer
Description: Ubuntu 9.04
500 http://us.archive.ubuntu.com jaunty/main Packages
According to http://d-i.alioth.debian.org/manual/en.i386/install.en.txt "d-i preseed/run" should be executed at the same time as "d-i preseed/late_command". But it is being executed at the beginning for installation even before partitioning happened. I want to use preseed/run to download a script witch would append my ssh pub key to root's authorized_keys. See attached preseed and script.
DistroRelease: Ubuntu 9.04
Package: debian-installer None [modified: /var/lib/dpkg/info/debian-installer.list]
Uname: Linux 2.6.28-15-generic i686
UnreportableReason: This is not a genuine Ubuntu package
To manage notifications about this bug go to:
More information about the foundations-bugs