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 use Mutt email client with encrypted passwords - December 1, 2015
- How to back up a WordPress website to remote cloud storage from the Linux command line - November 24, 2015
- How to access Dropbox from the command line in Linux - November 22, 2015