Public bug reported:

When performing an unattended install of Ubuntu 16.04 via PXE & preseed,
the installer fails to detect any storage devices when
netcfg/choose_interface=eno1 is passed as an option.

If that option is not provided via APPEND, or set to 'auto', installer
detects storage devices just fine.

Sample APPEND that will result in a failure to detect any storage
devices:

APPEND auto=true vga=788 preseed/interactive=false
netcfg/choose_interface=eno1
initrd=/images/linuxdistros/ubuntu/16.04/amd64/initrd.gz
preseed/url=http://MYDOMAIN/preseed/ubuntu-16.04-preseed.cfg
locale=en_US.UTF-8 keyboard-configuration/layoutcode=us
hostname=unassigned  --

When the 'netcfg/choose_interface=eno1' option is removed, storage
devices are detected, also setting it to 'auto' seems to work.


content of ubuntu-16.04-preseed.cfg :

d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select us
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string MYDOMAIN
d-i netcfg/wireless_wep string
d-i mirror/country string manual
d-i mirror/http/hostname string MYDOMAIN
d-i mirror/http/directory string /linux/ubuntu
d-i mirror/http/proxy string
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password-crypted password $hash
d-i user-setup/encrypt-home boolean false
d-i clock-setup/utc boolean true
d-i time/zone string US/Eastern
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.vt.edu
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto-lvm/guided_size string 25GB
d-i partman-auto/expert_recipe string                         \
      boot-root ::                                            \
              500 500 500 ext4                                \
                      $primary{ }                             \
                      $bootable{ }                            \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ /boot }                     \
              .                                               \
              2000 2000 4000 xfs                              \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ / }                         \
              .                                               \
              4000 1000 8000 xfs                              \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /var }                      \
              .                                               \
              8000 1000 12000 xfs                             \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /usr }                      \
              .                                               \
              2000 1000 80000 xfs                             \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /home }                     \
              .                                               \
              2000 1000 5000 xfs                              \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /tmp }                      \
              .                                               \
              1000 2000 4000 xfs                              \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /opt }                      \
              .                                               \
              2000 2000 25% linux-swap                        \
                      $lvmok{ }                               \
                      method{ swap } format{ }                \
              .
d-i partman/default_filesystem string xfs
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
tasksel tasksel/first multiselect ubuntu-server
d-i pkgsel/include string openssh-server build-essential mc etckeeper zsh
d-i pkgsel/upgrade select none
d-i pkgsel/update-policy select unattended-upgrades
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note

** Affects: ubuntu
     Importance: Undecided
         Status: New

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

Title:
  preseed installer fails to detect disks when NIC is specified

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1612337/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to