forked from roots/phyllomeos
add virt-manager automatic launch
This commit is contained in:
@@ -38,4 +38,12 @@ usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvi
|
||||
chown liveuser:liveuser /mnt/sysimage/var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory
|
||||
chown liveuser:liveuser /mnt/sysimage/var/lib/libvirt/images # Make the user "test" the owner of this directory
|
||||
|
||||
# Create a file to autostart virt-manager
|
||||
cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Virtual Machine Manager
|
||||
Exec=virt-manager
|
||||
EOF
|
||||
|
||||
%end # End of the %post section
|
||||
|
||||
Reference in New Issue
Block a user