1) On Linux terminal: stop and disable virtual machine NetworkManager service
systemctl stop NetworkManager
systemctl disable NetworkManager
2) Modify configuration
3) On Linux terminal: restart virtual machine network service
systemctl restart network