Feature #3136
closed
host cloning should auto-suggest a new IP address
Added by Martin Matuška about 11 years ago.
Updated over 6 years ago.
Description
If cloning a new host, the IP address should be auto-suggested and the hostname field should be blanked out.
I like blanking the IP, but the name may be undesirable. Suppose you clone web1 to web2, then it's helpful to already have the name there. It would be nice to have auto increment the numbers if detected and checked for duplicates (if web2 is already taken, it tries web3). Maybe this could make a cool plugin. It could also suggest the name for new VMs based on the host group name.
I understand your point of view. But I disagree with using the source host name as a name for the cloned host, as it is predestined to fail. The name is e.g. checked against DNS. You see the old name in the URL of the cloning page anyway.
I would rather suggest adding an informative field to the form that shows you what host you are cloning from. What I do agree with, that in the future there should be a new option for hostgroups to auto-suggest new host names based on some regexp rules.
I must admit I haven't cloned a host recently. If the old hostname is still visible, but not filled in would be sufficient.
- Status changed from New to Ready For Testing
- Assignee set to Martin Matuška
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 2
- Related to Bug #7620: When cloning host, old hostname is no longer shown added
Also available in: Atom
PDF