Project

General

Profile

Actions

Bug #1457

closed

Provisioning Template for Debian-based systems not working for ubuntu/mint

Added by David M. over 12 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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)
Actions #1

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

Actions #2

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.

Actions

Also available in: Atom PDF