libvirt VM creation command
apt install libvirt-daemon virtinst qemu-kvm
virt-install \
--name Alma8CloudVM \
--memory 2048 \
--vcpus 2 \
--disk https://repo.almalinux.org/almalinux/8/cloud/x86_64/imagesAlmaLinux-8-GenericCloud-8.5-20211119.x86_64.qcow2 \
--cdrom /path/to/cloudinit.iso \ <--------------- adjust this to your path for the iso ***************
--import \
--os-variant rhel8
virsh start Alma8CloudVM && virsh console Alma8CloudVM
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-guest_virtual_machine_installation_overview-creating_guests_with_virt_install
--network br0
--extra-args "ip=192.168.1.2::192.168.1.1:255.255.255.0:test.example.com:eth0:none"
[WSL2/Win10] virt-manager for kvm on Windows | Nico Maas apt install virt-manager bridge-utils
interesting, the backslash shows when I edit the above comment. For some reason, the "--c" removes the backslash at the end of the line above. Try pasting these 2 lines into a comment to see what I mean.
AlmaLinux \
--c
This is what happens when pasting those 2 lines:
AlmaLinux
--c
I had to add an extra space and backslash to the first comment to get it to show up.