Project

General

Profile

Actions

Bug #36229

closed

Ubuntu installs do not enable upgrade repos by default anymore

Added by Tim Eilers over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The change introduced by #35719 (applied in changeset 8498dedf4ce24cdbf521e43b72521453552218e3) results in updates repos not activated by default anymore.
The documentation in the template says the host parameter package_upgrade is true by default, but the code does not do that.

Actions #1

Updated by Bastian Schmidt over 1 year ago

Hey, thanks for your bug report!

I assumed the parameter to be true by default given by the other occurrences I found it in: https://github.com/theforeman/foreman/search?q=package_upgrade

But, I just realized the following default values per template for `package_upgradeĀ“:
- userdata_default: default=false
- kickstart_default_finish: default=true
- kickstart_default: default=true

Unfortunately, I cannot find the code where it might be default true/false. Just in `template_snapshot_service` it is true by default, but I assume this only applies for specific test cases.

Maybe, anyone else can verify this and I would create a PR changing the template documentation.

Actions #2

Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9693 added
Actions #3

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 3.7.0 added
Actions #4

Updated by Bastian Schmidt over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF