Bug #702
closedremove pxe-config-link when changing the mac address
Description
When I change the MAC-address of a machine that is marked as "Build",
then foreman should remove an existing link with the old mac-address from the TFTP-Server and create a new one.
Updated by Ohad Levy almost 14 years ago
Alex,
Which version of foreman are you using? afaik, the latest git develop branch already does that (assuming you are using the smart proxy to configure tftp).
Updated by Alexander Rusa almost 14 years ago
I pulled the latest version now and there were some updates for foreman and smart-proxy, but the behavior is still reproducible.
- I set an existing machine to "Build"
- The symlink /tftpboot/pxelinux.cfg/<mac>gets created
- I change the MAC address of the Host
- The symlink does not change.
If I now click "Cancel Build" and "Build" I have symlinks for both MAC addresses.
Updated by Ohad Levy almost 14 years ago
- Category set to TFTP
- Assignee set to Ohad Levy
- Target version set to 0.2
You are correct - however :)
we left the old tftp behavior in place not to break anyones current foreman deployment.
the new way of managing tftp services is using a smart proxy, which would also remove the entry.
I agree we can fix the legacy setup as well - thanks.
Updated by Ohad Levy almost 14 years ago
- Status changed from New to Assigned
this will only be officially supported with a smart proxy.
Updated by Ohad Levy almost 14 years ago
- Status changed from Assigned to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 5942416f5895aed1d4013037913579e72d57b162.
Updated by Ohad Levy almost 14 years ago
- Status changed from Ready For Testing to Closed