improve comments
correct reference add gnome-initial-setup try to make virt-manager pop up
This commit is contained in:
parent
327e13859e
commit
674b578872
@ -19,8 +19,24 @@
|
|||||||
%include bdmd.cfg # A desktop environment
|
%include bdmd.cfg # A desktop environment
|
||||||
%include bhmd.cfg # A base hypervisor
|
%include bhmd.cfg # A base hypervisor
|
||||||
|
|
||||||
%packages --exclude-weakdeps
|
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||||
|
|
||||||
virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
|
virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
|
||||||
|
gnome-initial-setup # Add GNOME initial setup too to let user create local account.
|
||||||
|
|
||||||
%end
|
%end # End of the packages section
|
||||||
|
|
||||||
|
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
|
||||||
|
|
||||||
|
# Autostart virt-manager
|
||||||
|
cat > /etc/xdg/autostart/virt-manager.desktop << EOF
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Virtual Machine Monitor
|
||||||
|
Exec=virt-manager
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Download netboot.xyz
|
||||||
|
wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/
|
||||||
|
|
||||||
|
%end # End of the %post section
|
Loading…
x
Reference in New Issue
Block a user