This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
1) Filter Table
Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.
uname -r | |
sudo su | |
# useradd builder | |
# groupadd builder | |
cd /home/centos | |
# Get Source Code | |
wget http://vault.centos.org/7.2.1511/updates/Source/SPackages/kernel-3.10.0-327.28.3.el7.src.rpm | |
rpm -ivh kernel-3.10.0-327.28.3.el7.src.rpm | |
# Build Preparation |