Configure Linux networking with network manager

I am working on a project where I need to apply live, permanent networking configuration changes to Linux VMs that may not even have a network configured in the first place. To do so I am leveraging: vSphere guest operations allowing to run commands in the guest OS even if it is not networked yet. NetworkManager / nmcli which provides a command line way to get and set a broad set of network configurations that can be applied immediately and permanently .