Update 'prep_system.sh'

This commit is contained in:
2022-09-07 17:14:28 -05:00
parent 3a8e39fe0d
commit dc146ca661
+5 -3
View File
@@ -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 ':' '-')