Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Sync-vmware Issue with non-unique host names #4

@mmahacek

Description

@mmahacek

We have some VMs that have an operating system hostname that is not unique, which was causing them to not be provisioned properly into Netbox. I made the following workaround to have all VMs named by their VM name and not the guest host name.

Line 192:
Old: $Hostname = $Guest.Hostname.ToLower()
New: $Hostname = $VM.Name.ToLower()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions