Project

General

Profile

Feature #25679

Provide better hostname generator examples with safemode enabled

Added by Aditi Puntambekar 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

We should also provide some new helpers and allow them in safemode:

- rand_hex(n) - returns SecureRandom.hex(n)
- rand_name - returns NameGenerator.new.generate_next_random_name
- mac_name(mac_address) - returns NameGenerator.new.generate_next_mac_name(mac_address)


Related issues

Related to Discovery - Feature #23729: Provide better hostname generator examplesNew

Associated revisions

Revision 8df5b8bd (diff)
Added by Aditi Puntambekar 3 months ago

Fixes #25679 - Provide better hostname generator examples

History

#1 Updated by Aditi Puntambekar 3 months ago

  • Related to Feature #23729: Provide better hostname generator examples added

#2 Updated by The Foreman Bot 3 months ago

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

#3 Updated by Lukas Zapletal 3 months ago

  • Fixed in Releases 1.21.0 added

#4 Updated by Aditi Puntambekar 3 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 3 months ago

  • Category set to Host creation

Also available in: Atom PDF