Update 'prep_system.sh'
This commit is contained in:
+5
-3
@@ -1,11 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
TFTP_ROOT="/volume1/rpi/tftpboot/"
|
PI_SERIAL="6218cd17"
|
||||||
ISCSI_TARGET_IP="192.168.1.5"
|
|
||||||
ISCSI_TARGET_IQN="iqn.2000-01.com.synology:SynologyNAS.Target-11.b63ef49539c"
|
ISCSI_TARGET_IQN="iqn.2000-01.com.synology:SynologyNAS.Target-11.b63ef49539c"
|
||||||
ISCSI_INITIATOR_IQN="iqn.1993-08.org.debian:01:9174e3877a3"
|
ISCSI_INITIATOR_IQN="iqn.1993-08.org.debian:01:9174e3877a3"
|
||||||
|
|
||||||
|
|
||||||
ISCSI_DEVICE="/dev/sda"
|
ISCSI_DEVICE="/dev/sda"
|
||||||
ISCSI_ROOT_PARTITION="/dev/sda1"
|
ISCSI_ROOT_PARTITION="/dev/sda1"
|
||||||
PI_SERIAL="6218cd17"
|
ISCSI_TARGET_IP="192.168.1.5"
|
||||||
|
TFTP_ROOT="/volume1/rpi/tftpboot/"
|
||||||
PI_HOSTNAME=$(hostname)
|
PI_HOSTNAME=$(hostname)
|
||||||
PI_IP=$(ifconfig eth0 | awk '/inet /{ print $2;}')
|
PI_IP=$(ifconfig eth0 | awk '/inet /{ print $2;}')
|
||||||
PI_MAC=$(ifconfig eth0 | awk '/ether/{ print $2;}' | tr ':' '-')
|
PI_MAC=$(ifconfig eth0 | awk '/ether/{ print $2;}' | tr ':' '-')
|
||||||
|
|||||||
Reference in New Issue
Block a user