diff --git a/leaves/ldhamd.cfg b/leaves/ldhamd.cfg index e90a4bb..816108b 100644 --- a/leaves/ldhamd.cfg +++ b/leaves/ldhamd.cfg @@ -35,6 +35,8 @@ virt-manager %post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor. +chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory +chown liveuser:liveuser /var/lib/libvirt/images # Make the user "test" the owner of this directory %end diff --git a/leaves/ldhimd.cfg b/leaves/ldhimd.cfg index 87fe28a..fbb6ed9 100644 --- a/leaves/ldhimd.cfg +++ b/leaves/ldhimd.cfg @@ -35,5 +35,7 @@ virt-manager %post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor. +chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory +chown liveuser:liveuser /var/lib/libvirt/images # Make the user "test" the owner of this directory %end diff --git a/leaves/ldhmd.cfg b/leaves/ldhmd.cfg index 6ff29bc..c3c92dd 100644 --- a/leaves/ldhmd.cfg +++ b/leaves/ldhmd.cfg @@ -34,5 +34,7 @@ virt-manager %post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor. +chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory +chown liveuser:liveuser /var/lib/libvirt/images # Make the user "test" the owner of this directory %end \ No newline at end of file