<div dir="ltr"><div><div>Hi,<br></div><div><br>I am including multiple profiles in my 
image, but during installation I am never prompted for which profile(s) 
to install, and instead only the default profile is used.<br><br></div><div>The install log contains the following:<br><br>Feb  6 18:35:32 anna-install: Installing simple-cdd-profiles<br>Feb  6 18:35:32 apt-install: Queueing package less for later installation<br>Feb  6 18:35:32 anna[2826]: (process:5107): loading simple-cdd templates...<br>Feb  6 18:35:32 anna[2826]: (process:5107): asking simple-cdd debconf questions...<br>Feb  6 18:35:32 anna[2826]: (process:5107): loading simple-cdd preseeding files<br>Feb  6 18:35:32 anna[2826]: (process:5107): profiles: <br>Feb  6 18:35:32 anna[2826]: (process:5107): Finished with simple-cdd debconf preseeding<br>Feb  6 18:35:32 anna[2826]: (process:5107): Queuing simple-cdd udebs...<br>Feb  6 18:35:32 anna[2826]: (process:5107): <br>Feb  6 18:35:32 anna[2826]: (process:5107): Queuing udebs for profile: default<br>Feb  6 18:35:32 anna[2826]: (process:5107): Finished queueing simple-cdd udebs<br>Feb  6 18:35:32 anna[2826]: (process:5107): Queuing simple-cdd packages...<br>Feb  6 18:35:32 anna[2826]: (process:5107): <br>Feb  6 18:35:32 anna[2826]: (process:5107): Queuing packages for profile: default<br>Feb  6 18:35:32 anna[2826]: (process:5107): Finished queueing simple-cdd packages<br><br></div><div>So, it looks like the simple-cdd-postinst script is running, but it never prompts for profiles to install.<br></div><div><br></div>I am building with the following command:<br><br>    build-simple-cdd --conf simple-cdd.conf --locale en_GB --keyboard gb<br><br></div>where simple-cdd.conf contains the following:<br><br>    profiles="gw build"<br>    mirror_components="main non-free"<br>    local_packages="./local-<wbr>packages/"<br><div>    export ARCH=amd64<br>    export KERNEL_PARAMS="preseed/file=/<wbr>cdrom/simple-cdd/default.<wbr>preseed priority=critical"<br><br></div><div>my ./profiles/ directory contains the following:<br><br>    $ ls profiles/<br>    build.packages  build.postinst  build.preseed  gw.packages  gw.postinst  gw.preseed<br><br></div><div>The built ISO contains the following files in /simple-cdd/<br><br>    /media/cdrom$ ls ./simple-cdd/<br>    build.packages  build.preseed      default.excludes  default.preseed  gw.packages  gw.preseed<br>    build.postinst  default.downloads  default.packages  default.udebs    gw.postinst  simple-cdd.templates<br><br></div><div>And simple-cdd.templates contains the default content: <br><br>    Template: simple-cdd/profiles<br>    Type: multiselect<br>    Choices: gw, build<br>    Default: <br>    Description: Select profiles<br>     profiles are a simple description of common system types.<br>     select all that apply.<br><br></div><div>The
 only way that I can get simple-cdd to build an ISO which installs my 
profiles is to set auto_profiles="gw build" in the simple-cdd.conf, or 
to pass simple-cdd/profiles="gw build" as a kernel start parameter. This
 does not achieve the desired behavior as I wish to be able to select 
the profiles at install time, not have them hard-coded.<br><br></div><div>Is this a bug in stretch versions of the tools, and should I report it as such, or is there something I am missing?<br><br></div><div>Thanks in advance,<br><br></div><div>Sam</div><br></div>