Fix exports of /install and /tftpboot

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-03-04 19:37:22 +00:00
parent d6faf045ad
commit 21a299a1cf

View File

@ -48,7 +48,7 @@ if [ "$1" = "1" ]; then #Only if installing for the first time..
mkdir -p /var/log/consoles
if ! grep /tftpboot /etc/exports; then
echo '/tftpboot *(rw,root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys
echo '/tftpboot *(ro,root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys
fi
if ! grep /install /etc/exports; then
echo '/install *(ro,no_root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys