pxe: bugfix wrong cat for nfs
This commit is contained in:
parent
887cf162c5
commit
a7bc751ccd
|
@ -23,7 +23,7 @@ backup_file() {
|
||||||
|
|
||||||
install_nfs() {
|
install_nfs() {
|
||||||
backup_file /etc/exports
|
backup_file /etc/exports
|
||||||
cat /etc/exports <<END
|
cat > /etc/exports <<END
|
||||||
${nfs_path} ${nfs_allowed_lan}(rw,sync,no_subtree_check,no_root_squash)
|
${nfs_path} ${nfs_allowed_lan}(rw,sync,no_subtree_check,no_root_squash)
|
||||||
END
|
END
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue