From dc146ca661b96323d2c6da2759421b58606d2729 Mon Sep 17 00:00:00 2001 From: sfajeff Date: Wed, 7 Sep 2022 17:14:28 -0500 Subject: [PATCH] Update 'prep_system.sh' --- prep_system.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/prep_system.sh b/prep_system.sh index 4d3e1fa..8bbf121 100644 --- a/prep_system.sh +++ b/prep_system.sh @@ -1,11 +1,13 @@ #!/bin/bash -TFTP_ROOT="/volume1/rpi/tftpboot/" -ISCSI_TARGET_IP="192.168.1.5" +PI_SERIAL="6218cd17" ISCSI_TARGET_IQN="iqn.2000-01.com.synology:SynologyNAS.Target-11.b63ef49539c" ISCSI_INITIATOR_IQN="iqn.1993-08.org.debian:01:9174e3877a3" + + ISCSI_DEVICE="/dev/sda" ISCSI_ROOT_PARTITION="/dev/sda1" -PI_SERIAL="6218cd17" +ISCSI_TARGET_IP="192.168.1.5" +TFTP_ROOT="/volume1/rpi/tftpboot/" PI_HOSTNAME=$(hostname) PI_IP=$(ifconfig eth0 | awk '/inet /{ print $2;}') PI_MAC=$(ifconfig eth0 | awk '/ether/{ print $2;}' | tr ':' '-')