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
| " Minimal .vimrc that can be fetched via curl/wget or scp on a remote machine | |
| " • curl -fLOsS https://gist.githubusercontent.com/kaem-e/3539c743d4c2e3c9446f47aa29243927/raw/.vimrc | |
| " • wget -c https://gist.githubusercontent.com/kaem-e/3539c743d4c2e3c9446f47aa29243927/raw/.vimrc -O ~/.vimrc | |
| " • (for ssh remotes, via scp): scp ./.vimrc madoka@_HOST_:~/.vimrc | |
| " ---- Options ----- | |
| set nocompatible | |
| set t_Co=16 " limit to ansi-16 | |
| set notermguicolors |
| @-moz-document domain("docs.rs"), | |
| regexp("^file:///.*\\.rustup/toolchains/[^/]+/share/doc/rust/html(/.*)?$"), | |
| regexp("^file:///.*?/target/doc(/.*)?$"), | |
| domain("doc.rust-lang.org"), | |
| domain("nih-plug.robbertvanderhelm.nl"), | |
| url-prefix("https://docs.slint.dev/latest/docs/rust/slint"), | |
| url-prefix("https://rust-unofficial.github.io/too-many-lists/"), | |
| url-prefix("https://rust-lang.github.io/api-guidelines"), | |
| url-prefix("http://localhost:65114/"), | |
| url-prefix("https://jorel.dev/mdBook-pagetoc/"), |
| { | |
| "label": "Build Visual Studio Project (Debug)", | |
| "command": "| Out-Null;cd $env:ZED_WORKTREE_ROOT;msbuild.exe", | |
| "args": [ | |
| "(Split-Path $env:ZED_WORKTREE_ROOT -Leaf).sln", | |
| "/p:Configuration=Debug", | |
| "/p:Platform=x64", | |
| "/m", | |
| "/v:m", |