# 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="AppStream" --baseurl=https://build.stream.opencloudos.tech/yum/opencloudos-stream/releases/23/AppStream/x86_64/Packages/ # Root password rootpw --iscrypted --allow-ssh $6$AVA60JvYC0DDhNfI$VstoNn1T1q8XCClWdVtm97R8f2nqpkDdPGCnXV1Z.Kw.mQOIouA.Z/CLQbAxGxpc6DSCMovEd6JOh5EqiPzP30 # System services services --enabled="NetworkManager,sshd" # System timezone timezone Asia/Beijing --utc # Use network installation url --url="https://build.stream.opencloudos.tech/yum/opencloudos-stream/releases/23/BaseOS/x86_64/Packages/" # System bootloader configuration bootloader --location=none # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all # Disk partitioning information part / --fstype="ext4" --size=8192 selinux --enforcing %packages @^minimal-environment dracut-live glibc-all-langpacks grub2-pc-modules grub2-efi-x64-cdboot kernel kernel-core kernel-modules isomd5sum shim %end %post # Remove rescure kernel and initramfs rm -f /boot/*-rescue* rm -f /etc/machine-id touch /etc/machine-id %end