I have committed the patch and it works as expected for single ethernet and double ethernet cases. Notes:
1) I could not check wifi access point configuration due to lack of a DreamPlug device. 2) There seems to an issue with udev allocating a "persistent network name" to on the interfaces in case double ethernet interfaces. One of the ethernet interfaces was named "ens9" resulting in the configuration not getting assigned properly. This is perhaps due to the deletion of udev net rules and trying to recreate them in sorted order. We should recheck if this the right approach. 3) We perhaps don't need to create the /etc/network/interface file at all now after the current set of changes. We could remove those changes. -- Sunil
signature.asc
Description: OpenPGP digital signature