Public bug reported:

The sources file is being written incorrectly during the preseed
process. Its failing to prefix the last line in the sources.list file
with "deb ".

This is what we have in our preseed for xenial

# Aptly Mirror / Custom Packages
d-i apt-setup/local0/repository string deb 
http://aptly.internal/internal/company/ xenial main
d-i apt-setup/local0/source boolean false
d-i apt-setup/local0/key string http://aptly.internal/internal/company.gpg
# Aptly Mirror / puppetlabs repos
d-i apt-setup/local1/repository string deb 
http://aptly.internal/internal/puppetlabs-xenial/ xenial main dependencies
d-i apt-setup/local1/source boolean false
d-i apt-setup/local1/key string http://aptly.internal/internal/company.gpg

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

** Package changed: nsd (Ubuntu) => debian-installer (Ubuntu)

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

Title:
  preseed fails to add custom repos with apt-setup/local0/repository in
  xenial

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to