[Bug 1760915] [NEW] Unable to preseed keyboard selection and skip user creation

Johnny Berentsen johnny at bitl.no
Tue Apr 3 15:52:28 UTC 2018


Public bug reported:

I tried to use my preseed and kickstart configuration files used with
16.04 on the daily 18.04 ubuntu desktop build. Everything is automatic
except these three:

1. Prompted for keyboard layout
The correct layout is automatically chosen (Norwegian in this case), but I still need to click Continue. This is from my preseed file:
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select no

2. Prompted for user
Should not be prompted for user creation, since this is in my preseed file:
user --disabled
and this in my kickstart file:
user --disabled

3. %pre section of kickstart file is apparently not run
The %pre section is set up to change terminal, ask some questions, then change back to the original terminal and continue. This is the main part of it:
%pre
exec < /dev/tty6 > /dev/tty6 2> /dev/tty6
chvt 6
# Ask questions....
chvt 1
exec < /dev/tty1 > /dev/tty1 2> /dev/tty1


The boot options used:
append  file=/cdrom/preseed/tornado.seed ks=cdrom:/isolinux/ks.cfg boot=casper automatic-ubiquity initrd=/casper/initrd.lz quiet splash ---

** Affects: debian-installer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bionic

** Attachment added: "preseed file used"
   https://bugs.launchpad.net/bugs/1760915/+attachment/5100057/+files/tornado.seed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1760915

Title:
  Unable to preseed keyboard selection and skip user creation

Status in debian-installer package in Ubuntu:
  New

Bug description:
  I tried to use my preseed and kickstart configuration files used with
  16.04 on the daily 18.04 ubuntu desktop build. Everything is automatic
  except these three:

  1. Prompted for keyboard layout
  The correct layout is automatically chosen (Norwegian in this case), but I still need to click Continue. This is from my preseed file:
  d-i console-setup/ask_detect boolean false
  d-i keyboard-configuration/xkb-keymap select no

  2. Prompted for user
  Should not be prompted for user creation, since this is in my preseed file:
  user --disabled
  and this in my kickstart file:
  user --disabled

  3. %pre section of kickstart file is apparently not run
  The %pre section is set up to change terminal, ask some questions, then change back to the original terminal and continue. This is the main part of it:
  %pre
  exec < /dev/tty6 > /dev/tty6 2> /dev/tty6
  chvt 6
  # Ask questions....
  chvt 1
  exec < /dev/tty1 > /dev/tty1 2> /dev/tty1

  
  The boot options used:
  append  file=/cdrom/preseed/tornado.seed ks=cdrom:/isolinux/ks.cfg boot=casper automatic-ubiquity initrd=/casper/initrd.lz quiet splash ---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1760915/+subscriptions



More information about the foundations-bugs mailing list