include gnome-initial setup

try to make virt-manager pop up
improve comments
This commit is contained in:
lukas 2021-08-19 19:37:11 +02:00
parent 813de49aba
commit 39ceb80440

View File

@ -25,11 +25,11 @@
%include ldmd.cfg # A base for a live desktop minimal machine
%include bhmd.cfg # A base hypervisor
%packages --exclude-weakdeps
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
virt-manager
virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
%end
%end # End of the packages section
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
@ -37,4 +37,12 @@ usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvi
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
# Autostart virt-manager
cat > /etc/xdg/autostart/virt-manager.desktop << EOF
[Desktop Entry]
Type=Application
Name=Virtual Machine Monitor
Exec=virt-manager
EOF
%end # End of the %post section