Feature #25679
Provide better hostname generator examples with safemode enabled
Pull request:
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
Associated revisions
History
#1
Updated by Aditi Puntambekar about 2 years ago
- Related to Feature #23729: Provide better hostname generator examples added
#2
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6324 added
#3
Updated by Lukas Zapletal about 2 years ago
- Fixed in Releases 1.21.0 added
#4
Updated by Aditi Puntambekar about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 8df5b8bd02ffc88d5b243fe2eb12276de63d1ea6.
#5
Updated by Tomer Brisker about 2 years ago
- Category set to Host creation
Fixes #25679 - Provide better hostname generator examples