Folks, this is getting serious. My first open source (MIT license) project and I have no idea what I'm doing ๐Ÿ˜จ

It's called nvirt. The concept in a nutshell: it's similar to writing/using a dockerfile, but for libvirt VMs.

Docs if you're curious to read more: https://nvirt-cli.gitlab.io/

I've just tagged v0.1.0 for testing, feedback and a bit more "tidy up" dev, especially before I commit to backwards compatibility for the "virtfile" format, but for anyone who's interested I'd appreciate feedback, ideas and/or rebukes (if I have wasted my time or committed any cardinal sins given I'm new to Go and actually publishing stuff...)

Huge shout-out for the #libguestfs and #virtManager projects - pretty sure I wouldn't have attempted something like this if those tools didn't exist.

#linux #libvirt #nvirt #golang #OpenSource

nvirt

Virt Tools์˜ ํ™ˆํŽ˜์ด์ง€ ๋Œ€๋ฌธ์—๋Š” Linux ๊ฐ€์ƒํ™” ์ƒํƒœ๊ณ„๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ์š”์†Œ๋“ค์ด ์ •๋ฆฌ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ์ •๋ฆฌ ์ฐจ์›์—์„œ ํ•ด๋‹น ๋‚ด์šฉ AI๋ฒˆ์—ญ(+์•ฝ๊ฐ„ ์ˆ˜์ •)ํ–ˆ์Šต๋‹ˆ๋‹ค.

์ œ๊ฐ€ ํ•˜๋‚˜ ๋” ์ถ”๊ฐ€ํ•˜์ž๋ฉด Web UI๋ฅผ ๋‹ด๋‹นํ•˜๋Š” Cockpit์ด ์žˆ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

https://098.co.kr/virt-tools-open-source-virtualization-collaboration/

#KVM #libguestfs #libosinfo #libvirt #QEMU #virtmanager

Virt Tools: Open source virtualization collaboration โ€“ 098

2/ The "mount file system in a guest VM and then make it available via 9pfs" idea[1] mentioned by tytso in that thread made me wonder if this is something #libguestfs could handle without to much trouble. But I'm not really familiar with how it works, so I might be totally mistakenโ€ฆ

https://libguestfs.org/

[1] https://lore.kernel.org/all/Z8948cR5ak[email protected]/t/#m8c2e7350f16cf709dd8f5be24fb1ce00c546b0ad

libguestfs, library for accessing and modifying VM disk images

libguestfs, library and tools for accessing and modifying VM disk images

Bug #759725 โ€œThe kernel is no longer readable by non-root usersโ€ : Bugs : linux package : Ubuntu

The mode of the latest kernel has changed so it is no longer readable by non-root users: -rw-r--r-- 1 root root 4336016 2010-10-17 01:37 /boot/vmlinuz-2.6.35-22-generic -rw-r--r-- 1 root root 4336912 2010-11-24 12:46 /boot/vmlinuz-2.6.35-23-generic -rw-r--r-- 1 root root 4523072 2011-03-08 18:47 /boot/vmlinuz-2.6.38-6-generic -rw------- 1 root root 4523936 2011-04-11 05:24 /boot/vmlinuz-2.6.38-8-generic This prevents people from using this kernel to boot qemu virtual machines as non-root. ...

Launchpad
How To Rescue Virtual Machines With Virt-rescue - OSTechNix

Virt-rescue is like a rescue CD, but for virtual machines. This guide describes how to rescue virtual machines with Virt-rescue in Linux.

OSTechNix
In case anyone is interested in a #Bash #script for shrinking #RaspberryPiOS or just #RaspberryPi image files, here's one I did https://gitlab.com/aaribaud/drypi using #libguestfs
Albert ARIBAUD / drypi

A script to "dry up" a Raspberry Pi image file so that it takes as little space as possible

How To Rescue Virtual Machines With Virt-rescue - OSTechNix

Virt-rescue is like a rescue CD, but for virtual machines. This guide describes how to rescue virtual machines with Virt-rescue in Linux.

OSTechNix
How To Build Virtual Machine Images With Virt-builder - OSTechNix

This guide explains what is Virt-builder, how to install Virt-builder and how to build virtual Machine images with Virt-builder in Linux.

OSTechNix
Access And Modify Virtual Machine Disk Images With Libguestfs - OSTechNix

The libguestfs is a C library and a collection of tools on this library to create, view, access and modify virtual machine disk images in Linux.