# Use text mode text # Keyboard layouts keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=link --activate # Root password (use a stronger, hashed password in production) rootpw --plaintext password123 # Run the Setup Agent on first boot firstboot --disable # Allow SSH firewall --enabled --ssh # Do not configure the X Window System skipx # System timezone timezone America/New_York --utc # Partition clearing information clearpart --all --initlabel # Disk partitioning information autopart # Reboot after installation #reboot poweroff network --hostname=testhostname.example.com %packages @^minimal-environment %end %post dnf install cloud-init tar -y systemctl enable cloud-init.service systemctl start cloud-init.service %end url --url https://download.rockylinux.org/pub/rocky/10/BaseOS/aarch64/os/