properly name boot binary

This commit is contained in:
Peter McGoron 2023-05-11 14:37:46 -04:00
parent e1d09495da
commit 0d0459584b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ BINARY="$(realpath $2)"
ip link set "$INTER" up ip link set "$INTER" up
ip addr add 192.168.1.100/24 dev "$INTER" ip addr add 192.168.1.100/24 dev "$INTER"
BOOTDIR=$(mktemp -d) BOOTDIR=$(mktemp -d)
cp "$BINARY" "$BOOTDIR" cp "$BINARY" "$BOOTDIR"/boot.bin
cd "$BOOTDIR" cd "$BOOTDIR"
dnsmasq -d --port=0 --enable-tftp --tftp-root="$BOOTDIR" --user=root --group=root --interface="$INTER" dnsmasq -d --port=0 --enable-tftp --tftp-root="$BOOTDIR" --user=root --group=root --interface="$INTER"