Skip to content

ntuhpc/docker-pxe-boot-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pxe-boot-server

To build the image for pxe server

docker build -t pxe .

To run the docker container

docker-compose up -d

Config

default - tftpboot config file

dhcpd.conf - dhcpd config file

ks-auto.cfg - kickstart config file

pxe.conf - httpd config file

tftp - xinetd config file

IMPORTANT

CONFIG FILES NEED TO BE CHANGE TO FIT THE NETWORK ENVIRONMENT

$MOUNT_PATH_ISO is the path where the centos iso extract to

$ mount -o loop CentOS-7-x86_64-DVD-1804.iso /mnt

$ mkdir -p /centos/

$ cp -rv /mnt/* /centos

Example

prepare.sh

docker-compose up -d

DHCP Client Status

inside the container there is a script to view the current active dhcp client cd /var/lib/dhcpd

watch -n 1 ./report.py'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published