terraform-provider-libvirt
libguestfs
terraform-provider-libvirt | libguestfs | |
---|---|---|
13 | 10 | |
1,513 | 597 | |
- | 0.7% | |
6.8 | 8.2 | |
13 days ago | 7 days ago | |
Go | C | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
terraform-provider-libvirt
- What do y'all use to provision KVM VM's?
-
libvirt-k8s-provisioner - Ansible and terraform to build a cluster from scratch in less than 10 minutes ok KVM - Updated for 1.26
libvirt-terraform-provider ( based on https://github.com/dmacvicar/terraform-provider-libvirt )
- NixOS 22.11 “Raccoon” Released
-
libvirt-ocp4-provisioner - Provision an OCP 4.x.y cluster in minutes with Ansible, now with Single Node OCP support! .
Hi guys!I wanted to allotment with you a tool to provision a fully working OCP 4.x.y cluster in minutes using Ansible for automation, libvirt as virtualization provider and terraform as VMs templating and creation tool. https://github.com/kubealex/libvirt-ocp4-provisioner It will take care of all the infrastructure provisioning and OCP machines provisioning, starting and completing the UPI installation of a cluster. (IPI work in progress ;) ) To give a quick overview, this project will allow you to provision a fully working OCP stable environment, consisting of: * Bastion machine provisioned with: * dnsmasq (with SELinux module, compiled and activated) * dhcp based on dnsmasq * nginx (for ignition files and rhcos pxe-boot) * pxeboot * Loadbalancer machine provisioned with: * haproxy * OCP Bootstrap machine * OCP Master(s) VM(s) * OCP Worker(s) VM(s) From latest release, it also supports installing SNO on a single host! It also takes care of preparing the host machine with needed packages, configuring: * dedicated libvirt network (fully customizable) * dedicated libvirt storage pool (fully customizable) * terraform * libvirt-terraform-provider ( compiled and initialized basedon https://github.com/dmacvicar/terraform-provider-libvirt) PXE is automatic, based on MAC binding to different OCP nodes role, so no need of choosing it from the menus, this means you can just run the playbook, take a beer and have your fully running OCP 4.9.latest stable up and running. It has been tested on Fedora 3x and CentOS 7/8. Playing around with it and contributions to make it work even on different OSes is more than welcome, hope you enjoy it! Alex
-
Need help on Terraform with KVM/Libvirt
I learned and got terraform to work with the KVM/Libvirt provider.
-
Automate creation of KVM VM and Installation of OS
I saw Terraform with the dmacvicar/terraform-provider-libvirt provider, but sadly didn't get really warm with it. When some can explain to me how I can set up new images for every VM I would be very happy also there are more question in the pipeline. Sadly, the “Documentation” is not really that good. Maybe Terraform is also the wrong Application for me. I'm a little lost because I thought Terraform would be the big Solution I want and need, until now, not yet.
-
Terraform Persistent Storage
It looks like there was an issue dealing with "attaching an existing disk" to a terraform created VM. That's here: https://github.com/dmacvicar/terraform-provider-libvirt/issues/688
-
Those of you running a home cluster that is NOT comprised of RasPis, what hardware are you using?
Nice. I’m straight KVM as it’s a mirror of work (my Lab) and I’m using the terraform-provider-libvirt provider. 20 minutes to fully build a site. Pretty cool.
-
Provision a full functional cluster in less than 10 minutes! libvirt-k8s-provisioner
libvirt-terraform-provider ( compiled and initialized based on https://github.com/dmacvicar/terraform-provider-libvirt)
- QEMU Version 6.0.0 Released
libguestfs
-
From xz to ibus: more questionable tarballs
We started off doing this, but you end up with enormous diffs which are themselves confusing. Example, only about 5% of this change is non-generated:
https://github.com/libguestfs/libguestfs/commit/5186251f8f68...
-
Microsoft: Windows 10 22H2 is the final version of Windows 10
And inside the registry. The apparently correct way to distinguish them is using the build ID:
https://github.com/libguestfs/libguestfs/commit/824c74574893...
- Python 3.12.0 is to remove long-deprecated items
-
Is chroot possible through a VM
NDB works great but another option is libguestfs. https://libguestfs.org/
-
Is there any way to access the files of a Windows 10 backup from Linux?
Have a look here
-
How to extract a virtual disk image without mounting to filesystem.?
Consider using libguestfs.
-
QEMU Version 6.0.0 Released
There's a lot of useful command-line tooling for KVM and QEMU-based virt. Here's a small selection of useful tools:
• virsh — This[1] is libvirt's shell interface; and gives you access to the rich set of libvirt APIs.
• virt-builder — Use this for rapidly building minimal or customized virtual machines; it's greatly flexible; check out its man page[2]. And here's[3] a quick example that connects both virt-builder and virsh together.
• virt-install — Use this if you don't like the default build of the template images from virt-builder; it lets you create "headless" servers via 'kickstart' and Linux OS trees from the command-line.
• guestfish and libguestfs suite[4] — This rich set of tools help you in a variety of use-cases: repairing your broken disk images, editing, cloning, debugging disk images, and more. It has saved my behind a lot of times.
• qemu-img[5] – This Swiss Army knife lets you powerfully manipulate disk images (QCOW2, raw, et al) offline. Example operations include: create images, backing chains, offline snapshots, disk image merging, and convert disk images from one format to another, and more.
[1] https://libvirt.org/manpages/virsh.html
[2] https://libguestfs.org/virt-builder.1.html
[3] https://developer.fedoraproject.org/tools/virt-builder/about...
[4] http://libguestfs.org/
[5] https://qemu.readthedocs.io/en/latest/tools/qemu-img.html
-
How to use Python libraries effectively when they aren't in PyPI?
That's a good point. As long as the project has a setup.py or pyproject.toml available, it can usually be installed from the repo. For libguestfs it looks like they do some pre-processing on their setup.py so that wouldn't work, it's lucky that they had this alternative set up already. :)
-
Probably the Simplest Way to Install Debian/Ubuntu in QEMU
Nah, this virt-install preseed script is faster, or even just run virt-builder debian-10 and they're both libvirt not hacky qemu scripts
What are some alternatives?
UTM - Virtual machines for iOS and macOS
guestfs-tools - Tools for accessing and modifying guest disk images
terraform-provider-proxmox - Terraform provider plugin for proxmox
terraform-provider-rancher2 - Terraform Rancher2 provider
bcc - BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
QEMU - Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
libguestfs-common - Common code shared between libguestfs and tools
libvirt-k8s-provisioner - Automate your k8s installation
nix-config
xemu - Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
k8s-lab-terraform-libvirt - A Kubernetes lab environment using terraform and libvirt