Link Search Menu Expand Document

Linux-Virtualization Cheat Sheet

Most of the content is now in separate cheat sheets:

<?add topic=’Docker’?> <?add topic=’KVM’?> <?add topic=’LXC’?> <?add topic=’OpenNebula’?> <?add topic=’OpenVZ’?> <?add topic=’systemd’?> <?add topic=’Vagrant’?> <?add topic=’VirtualBox’?> <?add topic=’VM Tuning’?> <?add topic=’Xen’?>


Detect VM

Detect if you are in a virtual machine


Test for HW virtualisation

egrep --color "svm|vmx" /proc/cpuinfo

# svm flag for AMD V
# vmx flag for Intel VT

Image Building Solutions

  • - builds EC2, DigitalOcean, GCE, QEMU, VirtualBox, VMWare
  • Veewee - (Ruby) builds Vagrant boxes, KVM, VirtualBox and VMWare images