mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 05:05:17 +00:00
virtualization-related tweaks
This commit is contained in:
parent
47b940a311
commit
bda9276608
9
post/virtualization-tweaks-root-needed.sh
Normal file
9
post/virtualization-tweaks-root-needed.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user