From 60c2fe867e1aed16141325d962d171f7921dae23 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 28 Nov 2021 18:01:22 +0100 Subject: [PATCH] specific ks for gnome initial-setup --- blocks/base-initial-setup-gnome.cfg | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 blocks/base-initial-setup-gnome.cfg diff --git a/blocks/base-initial-setup-gnome.cfg b/blocks/base-initial-setup-gnome.cfg new file mode 100644 index 0000000..c46c5ec --- /dev/null +++ b/blocks/base-initial-setup-gnome.cfg @@ -0,0 +1,28 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ + +# What ? This kickstart file provides the basic plumbing for GNOME initial-setup to launch on first start-up. + +%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies. + +gnome-initial-setup # Add GNOME initial setup too to let user create local account. + +%end # End of the packages section + +%post --nochroot --log=/mnt/sysimage/opt/base-initial-setup-gnome.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