Project

General

Profile

Actions

Feature #36666

open

Allow to select the kind of "channel" for the target OS: ga, eus, aus or e4s

Added by Andrea Perotti 9 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If user need to use leapp on a system that is using EUS/E4S/AUS, the default template for pre-upgrade/upgrade doesn't work, because it require the addition of "--channel {eus,e4s,aus}":

leapp upgrade --channel eus

Would be better to deliver appropriate templates, also to raise awareness about that difference.

Actions #1

Updated by Andrea Perotti 9 months ago

  • Subject changed from Include templates to allow leapp upgrade --channel {eus,aus,e4s} to Allow to select the kind of "channel" the system is into: eus, aus, e4s or none
Actions #2

Updated by Andrea Perotti 9 months ago

Or to add, in the job template for "Leapp PreUpgrade" and "Leapp Upgrade" tasks, the possibility to select the "channel" for target OS, so it can be passed to leapp, i.e.:

leapp preupgrade --channel eus
Actions #3

Updated by Andrea Perotti 9 months ago

  • Subject changed from Allow to select the kind of "channel" the system is into: eus, aus, e4s or none to Allow to select the kind of "channel" the system is into: ga, eus, aus or e4s
Actions #4

Updated by Andrea Perotti 8 months ago

  • Subject changed from Allow to select the kind of "channel" the system is into: ga, eus, aus or e4s to Allow to select the kind of "channel" for the target OS: ga, eus, aus or e4s
Actions #5

Updated by Marek Hulán 8 months ago

That should be relatively easy, could you try updating the template yourself with the new input for specifying the channel and then export it? You could then open a PR against https://github.com/theforeman/foreman_leapp/blob/master/app/views/foreman_leapp/job_templates/leapp_preupgrade.erb or just put it here and someone could update the file.

Does the same channel need to be specified also for the upgrade?

Actions #6

Updated by Andrea Perotti 8 months ago

  • Pull request https://github.com/theforeman/foreman_leapp/pull/130 added

Marek Hulán wrote:

You could then open a PR against

Ciao Marek, thanks for the reply: PR opened.

Does the same channel need to be specified also for the upgrade?

Yes, you need to specify it for both preupg and upgrade.

Actions

Also available in: Atom PDF