5
0
Fork 0

commit by to_remotes 2024-05-03 12:51:20 +0200 from vmdevhw

main
Holger Wasem 2024-05-03 12:51:20 +02:00
parent eb358e79cb
commit cdff1f674c
1 changed files with 5 additions and 6 deletions

View File

@ -3,11 +3,6 @@ WA_REPO=$HOME/wa_repos
TASK_PERFORMING=nfs_server_setup
source <(curl -sk https://git.service.wiseadvice.eu/wiseadvice_public_repos/wa_public_init_repo/raw/branch/main/common_lib.sh)
sudo lsblk
echo -n "disk name (eg vdb): "
read -r DISK_NAME
function perform_lvm_tasks() {
echo -ne "
Next Step
@ -21,6 +16,9 @@ Choose an option: "
NFSGRP=vgnfs
NFSVOL=lvdata
PNFS=/$NFSGRP/$NFSVOL
sudo lsblk
echo -n "disk name (eg vdb): "
read -r DISK_NAME
echo "<=><=><=><=><=><=><=><=><=><=><=><=><=><=><=><=>"
echo "seting up lvm and mount $PNFS"
cat << EOF
@ -58,4 +56,5 @@ EOF
esac
}
perform_lvm_tasks
echo "now pulling exports from repo"
echo "now initializing repos"
init_repos