There comes a time when simply running a virtual machine is not enough. Maybe you need to mount the VMs disk to grab or modify a file. Maybe you want to move a VM to a different computer. In this article I will explore methods to duplicate, import and modify existing VMs.
Viewing entries tagged with 'kvm'
Often you need to expose a second network interface in your virtual machines. Sometimes you have a second physical interface on the actual host, this is usually part of a private back end network (with a private IP space). Other times, you are using virtualization on a single host for isolating individual components, here you can make a second (virtual) bridge with no physical backing network.
You may find that immediately after installing your guest, you cannot connect to the guest via `virsh console`. Follow along as I add a serial console, designate it for use by grub, and add it to the guest's configuration file for virsh to use.
Time to create the Guest, or virtualized, machine. Ubuntu gives us a very handy script that will take a lot of the guest install and configuration out of our hands... as long as you know all of the flags you need to setup a working install.
So you're new to virtualization and want to take your brand new computer, with its brand new OS, into KVM/libvirt nirvana with the least amount of frustration. Follow along as I start from a fresh install of Ubuntu 14.04 Trusty and configure it reasonably and easily into a dev/production web host.