#version=DEVEL # X Window System configuration information xconfig --startxonboot # Keyboard layouts keyboard 'us' # Root password rootpw --iscrypted --lock locked # System language lang en_US.UTF-8 # Shutdown after installation shutdown # System timezone timezone Asia/Shanghai --isUtc # Network information network --bootproto=dhcp --device=link --activate repo --name="koji-dist-oc9-webui-build-64258" --baseurl=http://build.opencloudos.tech/kojifiles/repos/dist-oc9-webui-build/64258/aarch64 # Use network installation url --url="https://build.opencloudos.tech/kojifiles/repos/dist-oc9-webui-build/latest/$basearch/" # Run the Setup Agent on first boot firstboot --enable # SELinux configuration selinux --disabled # System services services --disabled="sshd" --enabled="NetworkManager" # 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 NetworkManager OpenIPMI OpenIPMI-libs acl acpid anaconda anaconda-install-env-deps anaconda-live anaconda-webui 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 dhcp-client diffutils dmidecode dnf dnf-utils docbook-dtds dos2unix dosfstools dracut-config-generic dracut-live e2fsprogs e2fsprogs-libs ed efi-filesystem efibootmgr elfutils elfutils-libelf elfutils-libs epol-release 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-all-langpacks glibc-common glibc-devel glibc-headers glibc-static gmp gnome-backgrounds 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-core kernel-headers kernel-modules kernel-modules-extra kexec-tools keyutils-libs keyutils-libs-devel kpartx krb5-client krb5-libs 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 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 livesys-scripts lm_sensors-libs logrotate lrzsz lsof lsscsi ltrace lua lvm2 lvm2-libs m4 mailcap mailx make man mcstrans mdadm mesa-va-drivers mpfr mtools mtr ncurses ncurses-base ncurses-devel ncurses-libs net-snmp-libs net-tools newt nfs-utils nss nss-pam-ldapd nss-softokn nss-softokn-freebl nss-sysinit nss-tools nss-util ntsysv numactl nvme-cli oddjob opencloudos-logos opencloudos-release 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 python3-jsonschema qemu-guest-agent quota readline rng-tools rootfiles rpcbind rpm rpm-build rpm-libs rsync rsyslog sed selinux-policy-targeted setserial setup sgml-common shadow-utils shared-mime-info shim 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 -dracut-config-rescue -gfs2-utils -langpacks-* -langpacks-en -reiserfs-utils %end