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 ':' '-')