Open HarshdeepSingh4084 opened 2 years ago
Hi! Thanks for the kind words. Unfortunately I don't have any time to work on this project these days (and it's been a long while since I last looked at the code!).
I think you'd need to pull out the PowerShell being used to get a sense of what value might be causing that Int32
issue.
Hi! Thanks for the kind words. Unfortunately I don't have any time to work on this project these days (and it's been a long while since I last looked at the code!).
I think you'd need to pull out the PowerShell being used to get a sense of what value might be causing that
Int32
issue.
Ok, I'll dig into the issue and update what I found. Maybe raise a PR if found solution.
Couldn't find anything useful in my case but Add-Computer can fail for a lot of reasons, one of them could be having two NICs.
The only solution I can find is to run a loop to retry Add-Computer (maybe twice or thrice) in case of failure. The condition to break the loop can be result of the command (Get-WmiObject -Class Win32_ComputerSystem).PartOfDomain
.
First of all, great work creating this plugin. Thanks, it helped a lot.
Issue Description:
I am facing
Add-Computer : Value was either too large or too small for Int32.
error after every few tries (it's random). After getting this error, if I run the provision action again without any other change, it runs successfully the second time.Screenshot of error:
Vagrantfile:
In case of any more details required, please let me know.