Tag: VM

  • Extending VM disk size

    Here is how to extend VM disk size with virsh which is using qcow2 format. In my case it’s DISK_PATH=/mnt/sdb/vm-disk-07.qcow2.

  • Creating MacVTap interfaces to be used with KVM virtual machines

    I’m using virsh manages, so let’s disable default networking You’re going to see default network enabled.To disable that run That will remove virbr0 created by libvirt.Now, we are going to create another libvirt network which then on new VM creation will be generating a macvtap and attach it to the VM. Let’s create yaml file […]

  • KVM Bridget Network to VM

    I’m using Ubuntu 20.04, so all the manipulations are going to be made with netplan. Also, I’m using singe ordered IPs, not subnets, so I can also order virtual MAC address for each of the IPs. Otherwise, you might want to look into routing options. This is my original netplan once after OS is installed […]

  • How to create a VM with KVM Hypervisor

    Install all the dependencies needed Reboot, that may work better. Download an image, for example Ubuntu 20.04 Create user data file so we can login after installation Create a disk for cloud-init to utilize nocloud Create disk from image If you run from root user and uncomment user = “root” and group = “root” and […]