-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add config option to strip domain part from host/vm name #29
Comments
Hi Adam, sure, but why not rename the devices in VMWare if the name doesn't fit? |
Hi,
We have other tools that use the FQDN, it is just in the netbox we do not.
Thanks
Adam
…On Mon, Jan 25, 2021 at 12:36 PM Ricardo ***@***.***> wrote:
Hi Adam,
sure, but why not rename the devices in VMWare if the name doesn't fit?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKXAE4VSM5YJQTBLI2IOUDS3VQVNANCNFSM4WRVUGQQ>
.
--
Adam Barnett
|
We could add config options like strip_vm_domain_name = True
strip_host_domain_name = True Then you would be able to switch it on/off. But this would apply for all objects synced from this source. |
Hi.
That sound amazing.
Thanks
…Sent from my iPhone
On 25 Jan 2021, at 13:43, Ricardo ***@***.***> wrote:
We could add config options like
strip_vm_domain_name = True
strip_host_domain_name = True
Then you would be able to switch it on/off. But this would apply for all objects synced from this source.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
can you test the branch "feature/strip-domain-from-name" and see if this works now? You need to add/set the config option in your current config: netbox-sync/settings-example.ini Lines 197 to 201 in ef39e23
|
perfect thanks |
Hi,
is there a way to drop the FQDN of a device, for example device1.blah.com becomes devcie1
Thanks
Adam
The text was updated successfully, but these errors were encountered: