small...
This commit is contained in:
parent
18b95ca76d
commit
db3df35baa
10
config-full.sh
Executable file
10
config-full.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. ./settings.sh
|
||||||
|
|
||||||
|
cat ./resources/default-full | \
|
||||||
|
sed -e "s/__NFSSERVERIP__/${NFSSERVERIP}/g" \
|
||||||
|
-e "s/__MENUTITLE__/${MENUTUTLE}/g" \
|
||||||
|
-e "s/__MENUBACKGROUND__/${MENUBACKGROUND}/g" > ${TFTP}/pxelinux.cfg/default
|
||||||
|
cp -av ./free ${TFTP}/
|
||||||
|
cp -av ./non-free ${TFTP}/
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
apt install -y git tftpd-hpa nfs-kernel-server lighttpd ipxe pxelinux syslinux syslinux-common
|
apt install -y git tftpd-hpa nfs-kernel-server lighttpd ipxe pxelinux syslinux syslinux-common sudo
|
||||||
|
8
settings.sh
Normal file
8
settings.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
TFTP=/srv/tftp
|
||||||
|
NFSSERVERIP=192.168.75.3
|
||||||
|
|
||||||
|
MENUTUTLE="Sample Title Text"
|
||||||
|
MENUBACKGROUND="splash.png"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user