Skip to content

launch virtual machine from cloud image using libvirt

Notifications You must be signed in to change notification settings

whoisnian/virt-launcher

Repository files navigation

virt-launcher

Release Status
Launch virtual machine from cloud image using libvirt.

dependencies

  • qemu-img
  • virt-install
  • virsh

example

# `sudo` to create file in /var/lib/libvirt/images
# `-E` to keep HOME env and cache files in $HOME/.cache
sudo -E ./virt-launcher -d \
  -n testing \
  -cpu 2 \
  -mem 4096 \
  -s 50G \
  -os debian12 \
  -key "$(cat .ssh/id_ed25519.pub)"

example

cloud image

https://docs.openstack.org/image-guide/obtain-images.html

known issues

About

launch virtual machine from cloud image using libvirt

Resources

Stars

Watchers

Forks

Packages

No packages published