Project

General

Profile

Actions

Bug #28077

closed

Use-ntp parameter does not work when provisioning centos7

Added by nndegz n about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The use-ntp host parameter when set to false still tries to use ntp because of the default os check. os_major is <=7 which will always match for el7
https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/provision/kickstart_default.erb#L46

  use_ntp = host_param_true?('use-ntp') || (is_fedora && os_major < 16) || (rhel_compatible && os_major <= 7)

Actions #1

Updated by nndegz n about 5 years ago

  • Pull request https://github.com/theforeman/community-templates/pull/643 added
Actions #2

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
Actions

Also available in: Atom PDF