# Generated by pykickstart v3.48 #version=F36 # 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" --baseurl=https://build.opencloudos.tech/kojifiles/repos/dist-oc9-webui-build/latest/$basearch/ # Root password rootpw --iscrypted --lock locked # SELinux configuration # close selinux #selinux --enforcing selinux --disabled # System services services --disabled="sshd" --enabled="NetworkManager" # System timezone timezone Asia/Shanghai --utc # Use network installation url --url="https://build.opencloudos.tech/kojifiles/repos/dist-oc9-webui-build/latest/$basearch/" # System bootloader configuration bootloader --location=none --append=selinux=0 # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all # Disk partitioning information part / --fstype="ext4" --size=7168 #part /boot/efi --fstype="efi" --size=500 xconfig --startxonboot firstboot --enable %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 anaconda-install-env-deps anaconda-live anaconda-webui @anaconda-tools opencloudos-logos gnome-backgrounds dnf dracut-config-generic dracut-live glibc-all-langpacks kernel kernel-modules kernel-modules-extra livesys-scripts shim -dracut-config-rescue # Exclude unwanted packages from @anaconda-tools group -gfs2-utils -reiserfs-utils # zz efibootmgr firefox-102.10.0-4.oc9 python3-jsonschema qemu-guest-agent dhcp-client #cockpit-ws #cockpit-system -langpacks-* -langpacks-en opencloudos-release epol-release rng-tools OpenIPMI OpenIPMI-libs acl acpid apr apr-util arpwatch at atk attr audit audit-libs autoconf automake avahi avahi-libs basesystem bash bash-completion bc bind-libs bind-utils binutils bison blktrace bzip2 bzip2-libs ca-certificates cairo checkpolicy chkconfig chrony clang coreutils cpio cpp cracklib cracklib-dicts crash cronie cronie-anacron crontabs ctags curl cyrus-sasl cyrus-sasl-lib cyrus-sasl-plain dbus dbus-glib dbus-libs device-mapper device-mapper-event device-mapper-event-libs device-mapper-libs device-mapper-multipath device-mapper-multipath-libs dhclient diffutils dmidecode dnf-utils docbook-dtds dos2unix dosfstools dracut-live e2fsprogs e2fsprogs-libs ed efi-filesystem efibootmgr elfutils elfutils-libelf elfutils-libs ethtool expat expect file file-libs filesystem findutils flex fontconfig freetype ftp fuse fuse-libs gawk gcc gcc-c++ gcc-gfortran gd gdb gdbm gettext glib2 glibc glibc-common glibc-devel glibc-headers glibc-static gmp gnupg2 gnutls gpgme gpm-libs grep grubby gtk3 gzip hdparm hicolor-icon-theme hmaccalc hunspell hwdata info initscripts iotop iproute iptables iptraf iptstate iputils irqbalance jasper-libs kbd kbd-misc kernel kernel-headers kexec-tools keyutils-libs keyutils-libs-devel kpartx krb5-libs krb5-client less lftp libIDL libX11 libX11-common libXau libXcomposite libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXinerama libXpm libXrandr libXrender libXres libXtst libXxf86vm libacl libaio libattr libblkid libcap libcap-ng libcgroup libcom_err libcom_err-devel libconfig libcurl libdaemon libdrm libedit libevent libffi libfontenc libgcc libgcrypt libgfortran libgomp libgpg-error libhbaapi libhbalinux libidn2 libjpeg libnetfilter_conntrack libnfnetlink libpcap libpciaccess libpng selinux-policy-targeted libselinux libselinux-devel libselinux-utils libsemanage libsepol libsepol-devel libss libstdc++ libstdc++-devel libsysfs libtasn1 libthai libtiff libtirpc libtool libusb libuser libutempter libuuid libxcb libxml2 libxslt lm_sensors-libs logrotate lrzsz lsof lsscsi ltrace lua lvm2 lvm2-libs m4 mailcap mailx make man mcstrans mdadm mpfr mtools mtr ncurses ncurses-base ncurses-devel ncurses-libs net-snmp-libs net-tools NetworkManager newt nfs-utils nss nss-pam-ldapd nss-softokn nss-softokn-freebl nss-sysinit nss-tools nss-util ntsysv numactl nvme-cli oddjob openjade openldap openldap-clients opensp openssh openssh-clients openssh-server openssl pam pango parted passwd patch patchutils pciutils pciutils-libs pcre pcsc-lite-libs perl perl-Archive-Tar perl-Archive-Zip perl-Bit-Vector perl-CGI perl-CPAN perl-Carp-Clan perl-Class-Singleton perl-Compress-Raw-Zlib perl-DBD-MySQL perl-DBD-SQLite perl-DBI perl-Date-Manip perl-DateTime perl-Digest-HMAC perl-Digest-SHA perl-Digest-SHA1 perl-Encode-Detect perl-ExtUtils-CBuilder perl-ExtUtils-Embed perl-ExtUtils-MakeMaker perl-ExtUtils-ParseXS perl-File-Fetch perl-HTML-Parser perl-HTML-Tagset perl-IO-String perl-IO-Zlib perl-IPC-Cmd perl-JSON perl-List-MoreUtils perl-Locale-Maketext-Simple perl-Module-Build perl-Module-CoreList perl-Module-Load perl-Module-Load-Conditional perl-Module-Loaded perl-Module-Pluggable perl-Net-DNS perl-Params-Check perl-Params-Validate perl-Pod-Escapes perl-Pod-Simple perl-String-CRC32 perl-Test-Harness perl-Test-Simple perl-Time-HiRes perl-TimeDate perl-URI perl-XML-LibXML perl-XML-NamespaceSupport perl-XML-Parser perl-XML-SAX perl-XML-Simple perl-libintl perl-libs perl-libwww-perl perl-libxml-perl perl-version pinentry pixman pkgconfig plymouth plymouth-core-libs plymouth-scripts policycoreutils polkit popt postgresql-libs procps psacct psmisc quota readline rng-tools rootfiles rpcbind rpm rpm-build rpm-libs rsync rsyslog sed setserial setup sgml-common shadow-utils shared-mime-info slang smartmontools sos sqlite strace sudo symlinks sysfsutils sysstat systemd-udev tar tcl tcpdump telnet texinfo time tmpwatch traceroute tree ttmkfdir tzdata unzip usbutils usermode ustr util-linux vim-common vim-enhanced vim-minimal wget which xml-common xmlrpc-c xmlrpc-c-client xorg-x11-font-utils xz xz-libs xz-lzma-compat yum zip zlib zlib-devel zlib-static zsh %end