How to mount CIFS share in %post script during Kickstart Installation of RHEL6?
Issue
- Not able to mount
CIFSshare mentioned in%postscript in kickstart file. mountcommand fails out with following error message
mount.cifs kernel mount options: ip=aa.bb.cc.dd,unc=\\aa.bb.cc.dd\linux_share,guest,ver=1,user=,pass=********
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Environment
- Red Hat Enterprise Linux 6
- Kickstarted installation
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.