diff --git a/leaves/dhmd.cfg b/leaves/dhmd.cfg index f952368..fabb01a 100644 --- a/leaves/dhmd.cfg +++ b/leaves/dhmd.cfg @@ -19,8 +19,24 @@ %include bdmd.cfg # A desktop environment %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 +gnome-initial-setup # Add GNOME initial setup too to let user create local account. -%end \ No newline at end of file +%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 \ No newline at end of file