Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

These options work for Kickstart to load the install tree from NFS: The Fedora Kickstart documentation states

nfs --server=nfsserver.example.com --dir=/tmp/install-tree --opts="username=u1,password=p1"

The RedHat6 documentation install guide does not mention the options flag but they are mentioned in the Fedora guide:

ks=nfs[:options]:<server>:<path>

How to add nfs options parameter to Anaconda in RHEL6.x?

share|improve this question
add comment

1 Answer

You pass NFS options to RHEL 6's kickstart process the same way you do in Fedora. See https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html for details.

share|improve this answer
1  
I have linked to the same document as you, why do you think that your answer would help me? –  Dejan Feb 21 '13 at 19:36
    
You linked to access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/… which is not the same document. The document I linked to specifically calls out the <code>--opts=</code> parameter to the <code>nfs</code> option for the <code>install</code> directive. Thus, I think my answer is helpful because it provides a direct response to your query from official Red Hat documentation. –  John Feb 21 '13 at 19:40
    
Its a different section within the same document. I saw the --opts flag but that is placed inside the KS file to load the install tree. I was wondering if the ":options" flag is supported on RHEL6.x? ks=nfs[:options]:<server>:<path> –  Dejan Feb 21 '13 at 19:51
    
Ok. I was reading the question wrong. However, looking through the source code in the anaconda package, it looks like the :options flag is supported. In /usr/lib/anaconda/ituil.py, which I believe handles the boot: prompt option processing, the parseNfsUrl() routine processes either (options, host, path) or (host, path) dependinf on the split of the url passed. –  John Feb 21 '13 at 20:12
    
Thanks for checking, however I get Error downloading kickstart file dialog. nfs:username=xx,password=psw://server:/path/foo.ks I checked and I was able to map the share using mount command. –  Dejan Feb 22 '13 at 17:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.