try to make the liveuser owner of
some libvirt directories
This commit is contained in:
parent
72a9f5ceef
commit
c9b9ff273f
@ -35,6 +35,8 @@ virt-manager
|
|||||||
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
|
%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.
|
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
|
%end
|
||||||
|
|
||||||
|
@ -35,5 +35,7 @@ virt-manager
|
|||||||
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
|
%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.
|
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
|
%end
|
||||||
|
@ -34,5 +34,7 @@ virt-manager
|
|||||||
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
|
%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.
|
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
|
%end
|
Loading…
x
Reference in New Issue
Block a user