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
[submodule ".pyenv"] | |
path = .pyenv | |
url = https://github.com/pyenv/pyenv.git | |
branch = master | |
[submodule ".pyenv-doctor"] | |
path = .pyenv-doctor | |
url = https://github.com/pyenv/pyenv-doctor.git | |
branch = master | |
[submodule ".pyenv-installer"] | |
path = .pyenv-installer |
#!/bin/bash | |
# Place this file in `ci/init.sh` within any Git repository. | |
: <<EOF | |
MIT License | |
Copyright (c) 2021 Klaus Frank | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal |
version: '3.7' | |
services: | |
localstack: | |
image: localstack/localstack | |
container_name: localstack_service | |
ports: | |
- "4566-4584:4566-4584" | |
- "8055:8080" | |
environment: | |
- SERVICES=s3 |
Add-Type -AssemblyName System.Windows.Forms | |
$file = "C:\bginfo\bginfo.png" | |
[System.Windows.Forms.Application]::EnableVisualStyles() | |
[System.Windows.Forms.Application]::SetCompatibleTextRenderingDefault($false) | |
$form = [System.Windows.Forms.Form]::new() | |
$form | Add-Member -Name pictureBox1 -MemberType NoteProperty -Value ([System.Windows.Forms.PictureBox]::new()) | |
([System.ComponentModel.ISupportInitialize]$form.pictureBox1).BeginInit() | |
$form.SuspendLayout() |
enum EnumBlock { | |
water | |
sand | |
} | |
enum EnumBlockShort { | |
w | |
s | |
} | |
function New-Board { |
# This script uses this library: https://github.com/lduchosal/ipnetwork | |
# It needs to be imported using e.g. `Add-Type -AssemblyName ./System.Net.IPNetwork.dll` | |
# Not to be confused with IPNetwork from Microsoft.AspNetCore.HttpOverrides.dll | |
function Get-CIDRFromAddressByPrefixList { | |
[OutputType([System.Net.IPNetwork])] | |
param( | |
[Parameter(Mandatory)][System.Net.IPAddress]$address, | |
[Parameter(Mandatory)][System.Net.IPNetwork[]]$prefixes | |
) | |
$address6 = $address.MapToIPv6() |
1454 execve("/usr/bin/socat", ["/usr/bin/socat", "-b65536", "UNIX-LISTEN:/tmp/.X11-unix/X0,fo"..., "SOCKET-CONNECT:40:0:x0000x701700"...], 0x7ffeabe355f0 /* 18 vars */) = 0 | |
1454 brk(NULL) = 0x556dbc2aa000 | |
1454 arch_prctl(0x3001 /* ARCH_??? */, 0x7ffd8b7244b0) = -1 EINVAL (Invalid argument) | |
1454 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
1454 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
1454 fstat(3, {st_mode=S_IFREG|0644, st_size=30438, ...}) = 0 | |
1454 mmap(NULL, 30438, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcd904e7000 | |
1454 close(3) = 0 | |
1454 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libwrap.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
1454 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 ;\0\0\0\0\0\0"..., 832) = 832 |
Binario | |
Blogpaper | |
HugoTeX | |
ace-documentation | |
air | |
allegiant | |
anatole | |
arabica | |
archie | |
axiom |
4002 silly decomposeActions fetch [email protected] | |
4003 silly decomposeActions extract [email protected] | |
4004 silly decomposeActions preinstall [email protected] | |
4005 silly decomposeActions build [email protected] | |
4006 silly decomposeActions install [email protected] | |
4007 silly decomposeActions postinstall [email protected] | |
4008 silly decomposeActions finalize [email protected] | |
4009 silly decomposeActions refresh-package-json [email protected] | |
4010 silly decomposeActions fetch [email protected] | |
4011 silly decomposeActions extract [email protected] |