dimsijul opened a new pull request #4070: URL: https://github.com/apache/cloudstack/pull/4070
## Description Adaptation of the original script to be able to work with netplan, network manager and ifupdown. ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ## Screenshots (if appropriate): ## How Has This Been Tested? <!-- Please describe in detail how you tested your changes. --> Changes have been tested in Cloudstack V 4.13 with the following operating systems and network providers : - Ubuntu 16.04 with ifupdown (/etc/network/interfaces) - Ubuntu 18.04 with netplan - Ubuntu 20.04 with netplan - Debian 10 with ifupdown (/etc/network/interfaces) - Debian 9 with ifupdown (/etc/network/interfaces) - CentOS 8 with network manager (/etc/sysconfig/network-scripts/ifcfg-eth0) - CentOS 7 with network manager (/etc/sysconfig/network-scripts/ifcfg-eth0) <!-- Include details of your testing environment, and the tests you ran to --> Create a new vm from template with password feature enabled and log in the vm with provided password. Stop the vm, change the password with the feature, start the vm and log in the vm with provided password. <!-- see how your change affects other areas of the code, etc. --> N/A <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document --> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
