From 23f1bc77171e887645d3583af0e47c6da4589c53 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 25 Sep 2024 11:52:46 -0300 Subject: [PATCH] change nfs persistency strategy it is easier than you thought --- pxe/.env.example | 3 +-- pxe/install-pxe.sh | 18 ++++++++---------- pxe/settings.ini.example | 6 ++++++ 3 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 pxe/settings.ini.example diff --git a/pxe/.env.example b/pxe/.env.example index 04a6817..8f80779 100644 --- a/pxe/.env.example +++ b/pxe/.env.example @@ -1,5 +1,4 @@ server_ip=192.168.1.2 nfs_allowed_lan=192.168.1.0/24 tftp_path='/srv/pxe-tftp' -nfs_images_path='/srv/pxe-images' -nfs_wbdata_path='/srv/workbench-data' +nfs_path='/srv/pxe-nfs' diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 86df3c8..22c422f 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -24,16 +24,15 @@ backup_file() { install_nfs() { backup_file /etc/exports cat > /etc/exports <