Compare commits
2 commits
ae30b14849
...
bdc28655e8
Author | SHA1 | Date | |
---|---|---|---|
bdc28655e8 | |||
bb5e506a77 |
|
@ -26,6 +26,7 @@ install_nfs() {
|
||||||
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
|
||||||
|
mkdir -p "${nfs_path}"
|
||||||
}
|
}
|
||||||
|
|
||||||
install_tftp() {
|
install_tftp() {
|
||||||
|
@ -51,8 +52,8 @@ install_netboot() {
|
||||||
default wb
|
default wb
|
||||||
|
|
||||||
label wb
|
label wb
|
||||||
KERNEL vmlinuz
|
KERNEL debian-installer/amd64/linux
|
||||||
INITRD initd.img
|
INITRD debian-installer/amd64/initd.gz
|
||||||
APPEND ip=dhcp netboot=nfs nfsroot=${server_ip}:${nfs_path}/ boot=live text forcepae
|
APPEND ip=dhcp netboot=nfs nfsroot=${server_ip}:${nfs_path}/ boot=live text forcepae
|
||||||
END
|
END
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue