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
#!/bin/bash | |
## Install Samba4 4.12.3 | |
## On Ubuntu 18.04 64Bits | |
## Author: Nilton OS -- www.linuxpro.com.br | |
## Link: https://github.com/jniltinho/go-samba4 | |
## https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba | |
## Version: 0.6 | |
### Tested on Ubuntu 18.04 64Bits | |
apt-get update |
<? | |
///////////////////// | |
// slack2html | |
// by @levelsio | |
///////////////////// | |
// | |
///////////////////// | |
// WHAT DOES THIS DO? | |
///////////////////// | |
// |
#!/usr/bin/perl | |
# "pflog" enhancement for parsing maillog of postfix 2.3 or higher version. | |
# "pflog" see: http://www.tmtm.org/ruby/pflog/pflog-0.3 | |
use strict; | |
use warnings; | |
use Time::Local; | |
use Getopt::Long; | |
#use Data::Dumper; |