virt-manager auto-launch

This commit is contained in:
lukas 2021-09-11 11:46:43 +02:00
parent 8984f8c346
commit 44b3ebdc23

View File

@ -30,4 +30,15 @@ gnome-initial-setup # Add GNOME initial setup too. Does work.
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
# set new default background (doesn't work. Would have to call a script on first boot or something)
# gsettings set org.gnome.desktop.background picture-uri file://mnt/sysimage/usr/share/backgrounds/elementary/default
# Autostart virt-manager
cat << EOF > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop
[Desktop Entry]
Type=Application
Name=Virtual Machine Manager
Exec=virt-manager
EOF
%end # End of the %post section