# Generated by pykickstart v3.47 #version=DEVEL # Run the Setup Agent on first boot firstboot --enable # Keyboard layouts keyboard 'us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=link --activate # Shutdown after installation shutdown repo --name="koji-dist-oc9-webui-build-72087" --baseurl=http://build.opencloudos.tech/kojifiles/repos/dist-oc9-webui-build/72087/x86_64 # Root password rootpw --iscrypted --lock locked # SELinux configuration selinux --disabled # System services services --enabled="NetworkManager,sshd" # System timezone timezone Asia/Shanghai --utc # Use network installation url --url="https://build.opencloudos.tech/kojifiles/repos/dist-oc9-webui-build/latest/$basearch/" # X Window System configuration information xconfig --startxonboot # System bootloader configuration bootloader --append="selinux=0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=1800M-64G:256M,64G-128G:512M,128G-486G:768M,486G-972G:1024M,972G-:2048M" --location=mbr --timeout=1 --boot-drive=vda # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all # Disk partitioning information part / --fstype="ext4" --size=8192 %post # set livesys session type sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys # set gnome init rm -rf /home/liveuser/.config # set live background, TODO #sudo -u liveuser gsettings org.gnome.desktop.background picture-uri 'file:///usr/share/backgrounds/gnome/adwaita-l.webp' sed -i "s/jpg/webp/g" /usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.xml glib-compile-schemas /usr/share/glib-2.0/schemas # Enable livesys services systemctl enable livesys.service systemctl enable livesys-late.service # enable tmpfs for /tmp systemctl enable tmp.mount # make it so that we don't do writing to the overlay for things which # are just tmpdirs/caches # note https://bugzilla.redhat.com/show_bug.cgi?id=1135475 cat >> /etc/fstab << EOF vartmp /var/tmp tmpfs defaults 0 0 EOF # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* echo "Packages within this LiveCD" rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn # Note that running rpm recreates the rpm db files which aren't needed or wanted rm -f /var/lib/rpm/__db* # go ahead and pre-make the man -k cache (#455968) /usr/bin/mandb # Remove machine-id on pre generated images rm -f /etc/machine-id touch /etc/machine-id %end %packages @Server with GUI @anaconda-tools anaconda anaconda-install-env-deps anaconda-live anaconda-webui dhcp-client dnf dnf-utils dracut-config-generic dracut-live efibootmgr glibc-all-langpacks gnome-backgrounds kernel kernel-core kernel-modules kernel-modules-extra livesys-scripts mesa-va-drivers opencloudos-logos opencloudos-release python3-jsonschema qemu-guest-agent rng-tools shim vim wget -dracut-config-rescue -gfs2-utils -langpacks-* -langpacks-en -reiserfs-utils %end