-
Notifications
You must be signed in to change notification settings - Fork 3
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 thin disk provisioning & unit number to solve error #1
Conversation
@ilpozzd I don't know how open you are to receiving PRs but I have just started using your module with talos and vsphere, it's great 👍🏻 |
@0dragosh, thanks for PR! I will update this module in the coming days. The Talos configuration transformation will be moved to a separate module so that the resulting userdata can be used in any cloud that supports it. |
@ilpozzd awesome! Cheers! |
@0dragosh, I tested your solution and unfortunately setting the |
@ilpozzd did you test with a second disk that's not in the OVF? My use case is a second data disk for storage. |
@0dragosh, I can change the data structure by adding one block for a basic fixed disk (like in OVF) and a dynamic block for all others |
@ilpozzd That's what I was trying to achieve but I'm not that great with VMware. Thanks! |
@0dragosh, I found the better solution :) thin_provisioned = index(var.disks, disk.value) == 0 ? false : lookup(disk.value, "thin_provisioned", false) |
Looks good! |
This PR adds thin disk provisioning as optional and disk unit number to solve this issue.