Skip to content

Instantly share code, notes, and snippets.

@sdwilsh
Created May 30, 2020 17:57
Show Gist options
  • Save sdwilsh/8cac918d4ba22e6827a865ea1c8c7fbc to your computer and use it in GitHub Desktop.
Save sdwilsh/8cac918d4ba22e6827a865ea1c8c7fbc to your computer and use it in GitHub Desktop.
Connect to iSCSI Device for Network Booting a Pi 4
sudo iscsiadm \
--mode discovery \
--type sendtargets \
--portal ${ISCSI_TARGET_IP}
sudo iscsiadm \
--mode node \
--targetname ${ISCSI_TARGET_IQN} \
--portal ${ISCSI_TARGET_IP} \
--login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment