Project

General

Profile

Actions

Bug #19597

closed

Rename temporary lease hostname

Added by Lukas Zapletal over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
DHCP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I stumbled upon situation during host renaming with libvirt provider when hostname was not passed and it defaulted to '*lease*' which failed for incorrect characters. Apparently * is not allowed there, therefore I renaming this to something that will always work. Also adding MAC address so it's unique hostname.

To reproduce use libvirt provider, create a host in foreman using libvirt provider, then rename the hostname - it conflicts with entry which is created by libvirt itself. That's anoter story, in this patch I just want to fix the "fallback" name.

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/smart-proxy/pull/527 added
Actions #2

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Daniel Lobato Garcia over 7 years ago

  • Translation missing: en.field_release set to 248
Actions

Also available in: Atom PDF