Skip to content
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

create_custom_vsan_esa_hcl_json.ps1 - ensure hex values have leading zeros #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adarobin
Copy link
Contributor

This will ensure all of the hex values in the generated HCL will be 4 hex digits long (i.e. have leading 0's).

For example, on some hardware in my lab the script originally generated this:

        "did": "953",
        "vid": "8086",
        "ssid": "370b",
        "svid": "108e",

when it should have been:

        "did": "0953",
        "vid": "8086",
        "ssid": "370b",
        "svid": "108e",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant