refactoring of the codebase

create new ks ingredients including for vmm, initial-setup, and else
This commit is contained in:
2021-11-28 18:12:50 +01:00
parent f12d83b04d
commit dadb1a05be
12 changed files with 32 additions and 218 deletions

View File

@ -15,25 +15,6 @@
%include base-storage.cfg # base storage
%include base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
gnome-initial-setup # Add GNOME initial setup too.
%end # End of the %post section
%post --nochroot --log=/mnt/sysimage/root/d.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
## Append lines to existing vendor.conf file, so that options are skipped upon reboot
cat >> /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf<< EOF
[pages]
skip=privacy
[goa]
providers=local-first!
EOF
%end # End of the %post section
reboot --kexec # Reboot straight into the system after a successfull installation