From 71dffb30744a1c756a7a7c304c578c830705e263 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 25 Sep 2024 11:10:43 -0300 Subject: [PATCH] pxe: prepare more the nfs part --- pxe/.env.example | 3 ++- pxe/install-pxe.sh | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/pxe/.env.example b/pxe/.env.example index 7f9b806..04a6817 100644 --- a/pxe/.env.example +++ b/pxe/.env.example @@ -1,4 +1,5 @@ server_ip=192.168.1.2 nfs_allowed_lan=192.168.1.0/24 tftp_path='/srv/pxe-tftp' -nfs_path='/srv/pxe-images' +nfs_images_path='/srv/pxe-images' +nfs_wbdata_path='/srv/workbench-data' diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 332ba55..deb8ea9 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -24,10 +24,21 @@ backup_file() { install_nfs() { backup_file /etc/exports cat > /etc/exports <