I have a disk mounted at /mnt/data
it has folders, among which are:
* yum
* pxe
Long story short, yum is rsynced each day to an online repo. In the /mnt/data/pxe/centos7/ I have created a symlink such that:
* /mnt/data/pxe/centos7/x86_64/ -> /mnt/data/yum/7/os/x86_64/
This works fine when in my PXE menu I use http as the method. However when I try with ftp for the method it fails. Investigation leads me to see that ftp cannot work with symlinks, ie it cant see the /x86_64 as a folder and its contents, thus PXE client cant download files and run install via ftp (but can via http).
To clarify, /mnt/data is the "root" folder for anonymous users configured via vsftpd.conf using the line:
Code: Select all
anon_root=/mnt/data/
Oddly enough, within the yum folder /mnt/data/yum/7/ is actually a symlink to whatever the latest version of CentOS 7 is (ex: /mnt/data/yum/7.4.1708/), and I can follow that in ftp without issue. however it appears I cant follow symlinks across sub folders of /mnt/data
I have set SELinux as;
Code: Select all
setsebool -P allow_ftpd_full_access 1
Any help would be great, Thanks