create new directories

it follows a cuisine analogy,
with dishes made followed a recipe,
using ingredients
This commit is contained in:
2022-01-03 21:21:23 +01:00
parent 1b6f725861
commit f0aa553e04
78 changed files with 406 additions and 178 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
# usermod -a -G libvirt $(whoami) # add current user to the libvirt group
# 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'.
virsh pool-build iso # Build the pool
virsh pool-start iso # Start it
virsh pool-autostart iso # Set-it to autostart