Bug #1457
closedProvisioning Template for Debian-based systems not working for ubuntu/mint
Description
If you try to install Ubuntu or Mint Linux using a Debian-Family Template fails.
The proxy tries to download the kernel and initrd-image from
http://archive.ubuntu.com/ubuntu/dists/oneiric/main/installer-amd64/current/images/netboot/debian-installer/amd64/
where the path on the server is:
http://archive.ubuntu.com/ubuntu/dists/oneiric/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/ <pre> (ubuntu-installer instead of debian-installer)
Updated by David M. over 12 years ago
As far as I can see in the source code, the installer-path is guessed by the name of the Template.
I think this is not very smart... If there is no Ubuntu in the title, this function will guess it is debian.
In case of Mint Linux, ubuntu were the right path, but it returns debian, because there is no Ubuntu in its name.
foreman/app/models/debian.rb - Line 43:
def guess_os name =~ /ubuntu/i ? "ubuntu" : "debian" end
Updated by Greg Sutcliffe over 8 years ago
- Description updated (diff)
- Status changed from New to Resolved
Ubuntu has been part of our standard test suite for a while now, and certainly installs fine for me on a clean install of Foreman. As such, I'm closing this old issue - please re-open if you still have difficulties.