VM creation playbooks - customization #4

Open
opened 2021-10-04 23:59:28 -04:00 by merenber · 1 comment
Owner

A few feature requests I'd like to see in the VM creation playbooks.

  • The playbooks shouldn't need to run as root. For QEMU, I believe you just need to be in the kvm group, and for libvirt, you just have to be in the libvirt group. When invoking virsh, either use the flag -c qemu:///system, or set the environment variable LIBVIRT_DEFAULT_URI=qemu:///system.
  • Number of CPUs, RAM, etc. should be totally configurable by the user.
  • Only the root disks need to be 10GB. The ZFS disks can be much smaller (e.g. 1GB) since we're only using them for testing (we're not going to download the real software packages on there).
  • For the libvirt playbook, check if the ISO already exists before downloading. Add instructions if the user has a pre-downloaded ISO which they'd like to use instead.
  • I don't think ovmf is necessary, at least not for libvirt.
A few feature requests I'd like to see in the VM creation playbooks. * The playbooks shouldn't need to run as root. For QEMU, I believe you just need to be in the `kvm` group, and for libvirt, you just have to be in the `libvirt` group. When invoking `virsh`, either use the flag `-c qemu:///system`, or set the environment variable `LIBVIRT_DEFAULT_URI=qemu:///system`. * Number of CPUs, RAM, etc. should be totally configurable by the user. * Only the root disks need to be 10GB. The ZFS disks can be much smaller (e.g. 1GB) since we're only using them for testing (we're not going to download the real software packages on there). * For the libvirt playbook, check if the ISO already exists before downloading. Add instructions if the user has a pre-downloaded ISO which they'd like to use instead. * I don't think ovmf is necessary, at least not for libvirt.
a268wang was assigned by merenber 2021-10-04 23:59:28 -04:00
d278liu was assigned by merenber 2021-10-04 23:59:28 -04:00
First-time contributor

For libvirt without ovmf, --boot uefi does not work and without that the vm does not boot into uefi.

For libvirt without ovmf, `--boot uefi` does not work and without that the vm does not boot into uefi.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/mirror-env#4
No description provided.