Open lamtt77 opened 2 years ago
Thanks for the contribution. I need to do some regression testing to make sure all is OK. I'll update this pr if there's any issues.
I have fixed an issue when ovf_network's value had not been persisted correctly in terraform.tfstate and updated more test case. Everything looks good now from my end. Thanks!
running into this issue as well. will this be merged at some point?
This PR created from my actual use-cases involved multiple ovf network interfaces already defined in a signed ova file (by other).
Feature:
The changes should work with any variations or orders of the following declaration:
In the above example, the ova source file defined 2 default ovf network interfaces (WAN and LAN), therefore
--net:'WAN=VM Network' --net:'LAN=VM Network'
will be generated as new 'net_param'. Without these changes, you will see the error message "OVFtool error: No network mapping specified".Support 'net_param' style:
Test case 1:
Add/update
Test case 2:
Test case 3:
Test case 4:
Test case 5:
Test case 6:
Please feel free to let me know should you need any changes/correction from this, I would be happy to revise accordingly.