Skip to content

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