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
GNOME's tracker is a CPU and privacy hog. There's a pretty good case as to why it's neither useful nor necessary here: http://lduros.net/posts/tracker-sucks-thanks-tracker/
After discovering it chowing 2 cores, I decided to go about disabling it.
Directories
| import paho.mqtt.client as mqtt | |
| import json | |
| import ast | |
| # Define Variables | |
| MQTT_HOST = "localhost" | |
| MQTT_PORT = 1883 | |
| MQTT_KEEPALIVE_INTERVAL = 3600 | |
| MQTT_TOPIC = "Gazpar_payload" | |
| import pygazpar |