Attempting to mount an NFS share in the anaconda kickstart %pre section fails. For example:
%pre mkdir /mnt/kickstart mount -o ro,nolock 192.168.2.99:/export/ks /mnt/kickstart
This is detailed in the following Redhat bugzilla entry:
https://bugzilla.redhat.com/show_bug.cgi?id=352451
As a workaround, NFS shares can be mounted using the following python code:
%pre --interpreter /usr/bin/python import os os.system('mkdir /mnt/kickstart') sys.path.append('/usr/lib/anaconda') import isys isys.mount('iserver:/export/ks', '/mnt/kickstart', 'nfs', 1);