mirror of
https://github.com/balkian/balkian.github.com.git
synced 2025-08-24 04:32:20 +00:00
Deploying to gh-pages from @ balkian/balkian.github.com@2b54cecdab 🚀
This commit is contained in:
9
post/scripts/pxe.sh
Normal file
9
post/scripts/pxe.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#/bin/bash
|
||||
USER=j
|
||||
IFNAME=enp62s0u1u3
|
||||
BINARY=test-tftp.bin
|
||||
ip address flush dev $IFNAME
|
||||
ip address add 10.1.1.10/24 dev $IFNAME
|
||||
dnsmasq -i $IFNAME --dhcp-range=10.1.1.50,10.1.1.100 \
|
||||
--dhcp-boot=$BINARY \
|
||||
--enable-tftp --tftp-root=/home/$USER/Downloads/pxe -d -u $USER -p0 -K --log-dhcp --bootp-dynamic
|
Reference in New Issue
Block a user