[16:01] <papamoose1> @maxb,@cjwatson: thanks, i'll take a look.
[16:40] <anonan> Hello everyone. I'm trying to create a modified Ubuntu ISO that detects the user's MAC address, compares it with a database on the ISO, and preseeds the install accordingly. The idea is that there should be one ISO image that can be used to correctly install any machine in my office, automatically.
[16:41] <anonan> I have the logic to decide the preseed values in my preseed/early_command script, and the script executes just fine, including the final "chroot /root debconf-set-selections /path/to/outfile".
[16:41] <anonan> However, it seems like the installed system is then configured according to the default values in the "static" preseed file.
[16:41] <anonan> Do you know what the reason for that could be?
[17:02] <anonan> Essentially, I'm trying to preseed "on the fly" during installation, but it doesn't seem to affect the setup process.
[17:32] <CarlFK> anonan: sounds like what you are doing in early_command isn't doing what you want, right?  if so, I would change it to a one line simple example.  it may be a bug, it may be you aren't doing it right, it may be what you want isn't supported
[17:35] <CarlFK> how do I preseed .. grub?  so this isn't appended: quiet splash
[17:35] <CarlFK> I need to see the text so I can see what is casing the boot to hang sometimes
[18:03] <anonan> CarlFK: Sorry for the delayed answer. Yes, the result isn't what I want, but the early_command runs in its entirety. I know that because debconf-get-selections shows the values to be preseeded the way I want them to be. Alas, they are not honored when the setup runs.
[18:04] <anonan> I used to set a default netcfg/hostname in the static preseed file and overwrite it dynamically, which resulted in the static value to be in effect. Now that I have removed the static value, that problem is gone, but what persists is the fact that the network interface is not configured at all in the installed system, although the netcfg options for that are set (dynamically).