Update '6.update-partition-PARTUUID.sh'

This commit is contained in:
2022-09-07 15:26:25 -05:00
parent 90c1548769
commit 49dbbd5b0e
+6 -4
View File
@@ -1,10 +1,12 @@
#!/bin/bash
NFS_IP="192.168.1.5"
NFS_ROOT_PATH="/volume1/rpi/tftpboot/3079dde4"
NFS_ROOT_PATH="/volume1/rpi/tftpboot/6218cd17"
NFS_DIR="/iscsi/$(hostname -s)-iscsi"
ISCSI_ROOT_PARTUUID=""
# Mount the NFS Folder
NFS_DIR="$(mktemp -d)"
sudo mount ${NFS_IP}:${NFS_ROOT_PATH} ${NFS_DIR}
#NFS_DIR="$(mktemp -d)"
#sudo mount ${NFS_IP}:${NFS_ROOT_PATH} ${NFS_DIR}
# Update the PARTUUID
sudo sed -i -r -E \
@@ -13,4 +15,4 @@ sudo sed -i -r -E \
# Unmount the NFS Folder
#sudo umount ${NFS_DIR}
view raw
#view raw