# Use text mode text poweroff # Use network installation # 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 --allow-ssh # Run the Setup Agent on first boot firstboot --disable 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 --type=plain --fstype="ext2" # Reboot after installation #reboot %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/