pxe: bugfix wrong cat for nfs
This commit is contained in:
parent
70921866cf
commit
bbd1c47272
|
@ -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