add new post-install scripts

This commit is contained in:
2022-01-24 15:38:44 +01:00
parent e247b72659
commit bd3c8e934e
7 changed files with 155 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# usermod -a -G libvirt $(whoami) # add current user to the libvirt group
# usermod -a -G libvirt kvm $(whoami) # add current user to the libvirt and kvm groups
# virsh commands fail in a kickstart environment (chroot or not it seems). would need to fetch a script and execute post-launch with a delay, for example using a systemd unit
virsh pool-define-as iso dir - - - - /var/lib/libvirt/iso/ # Make libvirt aware of this new directory by creating a so-called 'pool'.