Assume that you know the name-label of the VM.
Create a network for the new interface to be attached to, and returns the network-uuid
Find out vm-uuid of the VM
Create eth1 interface for the VM, and gets the uuid of the new interface
Hot-plug the created interface to the VM
Now eth1 is visible from inside the VM.
You still need to configure eth1 from within VM to make it active.
Subscribe to Xmodulo
You can have daily Linux tutorials and FAQs delivered to your email inbox. Simply enter your email address below to subscribe to our mailing list. You will receive hands-on guides and carefully written tutorials related to Linux, everything for free.