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
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to set up Apt caching server on Ubuntu or Debian - February 7, 2016
- How to monitor OpenFlow messages with packet sniffer - February 2, 2016
- How to search multiple pdf documents for words on Linux - January 13, 2016