Custom rocky iso is rebooting and reinstalling OS

I have created custom ISO image from “Rocky-8.7-x86_64-minimal.iso” using
“mkksiso /root/anaconda-ks1.cfg /root/Rocky-8.7-x86_64-boot.iso /root/Rocky-8.7-x86_64-test.iso”

When I try to setup machine from my custom ISO image using .ks(kick start config file) .
All the ‘OS’ configurations are setting up properly and machine is going for reboot. But after the reboot again it is reinstalling ‘OS’ and rebooting and continues to reboot.

Ks.file

#version=RHEL8

Use graphical install

#graphical
install

%packages
@^minimal-environment
kexec-tools

%end

Keyboard layouts

keyboard --xlayouts=‘us’

System language

lang en_US.UTF-8

Network information

network --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate
network --hostname=localhost.localdomain

Run the Setup Agent on first boot

firstboot --enable

ignoredisk --only-use=sda
autopart

Partition clearing information

clearpart --none --initlabel

System timezone

timezone America/New_York --isUtc

Root password

rootpw --iscrypted $6$FFOHl40vEkoTSlO6$NOrM5i3/VroVyNFQOaQwhFNbhqE0ZoglCa9HC3JUWBxxAbxnPoJkTVkVisahEC96FkcsuM3pBom5eYMs5LH2s/

%addon com_redhat_kdump --enable --reserve-mb=‘auto’

OMIT X11

skipx

Use network installation

url --url https://download.rockylinux.org/stg/rocky/8/BaseOS/$basearch/os/
repo --name=“BaseOS” –

System bootloader configuration

bootloader --append=“no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop” --location=mbr --timeout=1

Clear the Master Boot Record

zerombr

Partition clearing information

clearpart --all --initlabel --disklabel=gpt

Disk partitioning information

part biosboot --size=1 --fstype=biosboot --asprimary
part /boot/efi --size=100 --fstype=efi --asprimary
part /boot --size=1000 --fstype=xfs --label=boot
part / --size=8000 --fstype=“xfs” --mkfsoptions “-m bigtime=0,inobtcount=0” --grow

Shutdown after installation

shutdown

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end