properly name boot binary
This commit is contained in:
parent
e1d09495da
commit
0d0459584b
|
@ -11,7 +11,7 @@ BINARY="$(realpath $2)"
|
|||
ip link set "$INTER" up
|
||||
ip addr add 192.168.1.100/24 dev "$INTER"
|
||||
BOOTDIR=$(mktemp -d)
|
||||
cp "$BINARY" "$BOOTDIR"
|
||||
cp "$BINARY" "$BOOTDIR"/boot.bin
|
||||
cd "$BOOTDIR"
|
||||
|
||||
dnsmasq -d --port=0 --enable-tftp --tftp-root="$BOOTDIR" --user=root --group=root --interface="$INTER"
|
||||
|
|
Loading…
Reference in New Issue