aims sync
aims [-hw $HW_Address ] -ks $Path_to_the_kickstart_file
aims show $IP_Name
aims pxeon $IP_Name $Release-Archeg. $Release-Arch = SLC306-i386
OSError: [Errno 2] No such file or directory: '/mnt/sysimage/tmp/ks-script'you can just ignore this error and reboot the system.
cp -p /afs/cern.ch/project/linux/cern/slc30X/i386/images/pxeboot/{initrd.img,vmlinuz} /boot/ks
grubby --title='Kickstart Reinstallation' --make-default --copy-default \ --add-kernel=/boot/ks/vmlinuz --initrd=/boot/ks/initrd.img \ --args='text ks=hd:hda1:/boot/ks/ks.cfg'