Update '6.update-partition-PARTUUID.sh'
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user