This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This imports the nvme device exported by the nvme-target-mode.sh script | |
set -e | |
sudo modprobe nvme-fabrics | |
sudo ifconfig thunderbolt0 10.99.1.1 netmask 255.255.255.0 up | |
sudo nvme connect -t tcp -a 10.99.1.2 -n mylaptopname -s 4420 |