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
""" | |
Manipulate color schemes for mintty | |
For simplicity, support only "value = r, g, b" format with decimal values | |
Copyright 2017 Vitaly Potyarkin | |
Licensed under the Apache License, Version 2.0 | |
http://www.apache.org/licenses/LICENSE-2.0 |
#!/bin/busybox sh | |
# 1) Download a prebuilt BusyBox binary here: | |
# https://busybox.net/downloads/binaries/ | |
# | |
# 2) Prepare your kernel | |
# cp /boot/vmlinuz vmlinuz | |
# | |
# 3) Copy the files | |
# install -Dm0755 busybox-x86_64 initramfs/bin/busybox |
export TOKEN=$(curl --silent https://ghcr.io/token\?scope\=repository:wolfv/artifact:pull | jq -r .token) | |
curl \ | |
--silent \ | |
--request 'GET' \ | |
--header "Authorization: Bearer $TOKEN" \ | |
--header "Accept: application/vnd.oci.image.manifest.v1+json" \ | |
'https://ghcr.io/v2/wolfv/artifact/manifests/1.0' | |
echo "\n\nFetching image content now:\n\n" |
This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.
Let’s begin.
First of all, there are some concepts that one must unlearn from ipv4:
Concept 1