mirror of
https://github.com/pi-farm/Docker-PXE-Server.git
synced 2025-12-10 02:08:26 +00:00
add tcpdump script
This commit is contained in:
11
start.sh
11
start.sh
@@ -14,6 +14,8 @@ menue()
|
||||
echo "x) Stop the docker-containers"
|
||||
echo "u) Update the PXE-Server"
|
||||
echo ""
|
||||
echo "t) Show TCPDUMP on port 67-69 of the PXE-Container"
|
||||
echo ""
|
||||
echo "D) DELETE the existing docker-containers and docker images completely"
|
||||
echo ""
|
||||
echo "EXIT Exit this script, but PXE-Server is running, if started"
|
||||
@@ -78,6 +80,15 @@ menue()
|
||||
;;
|
||||
#############################################
|
||||
|
||||
t) clear
|
||||
docker exec -it pxe-container bash tcpdump.sh
|
||||
clear
|
||||
echo "TCPDUMP stopped"
|
||||
echo""
|
||||
menue
|
||||
;;
|
||||
#############################################
|
||||
|
||||
D) clear
|
||||
docker-compose down
|
||||
docker rmi pxe-image:latest
|
||||
|
||||
Reference in New Issue
Block a user