Provisioning Template for Debian-based systems not working for ubuntu/mint
|Velocity based estimate||-|
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
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)
#1 Updated by David M. almost 2 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