reboot and logging

add reboot --kexec and logs in the post section
This commit is contained in:
lukas 2021-08-19 20:31:20 +02:00
parent 3d782238b1
commit 1762cd6e6b

View File

@ -19,6 +19,8 @@
%include bdmd.cfg # A desktop environment
%include bhmd.cfg # A base hypervisor
reboot --kexec # Reboot straight into the system after a successfull installation
%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
@ -26,7 +28,7 @@ gnome-initial-setup # Add GNOME initial setup too to let user create local accou
%end # End of the packages section
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
%post --nochroot --log=/mnt/sysimage/root/ks-post.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
# Create a file to autostart virt-manager
cat > /etc/xdg/autostart/virt-manager.desktop << EOF