Cobbler is a build and deployment system. The primary functionality of cobbler is to simplify the lives of administrators by automating repetive actions, and to encourage reuse of existing work through the use of templating.
Use the accompanied Makefile to set it up. Issue make <target> to make the following:
build Build the image
run Run the Docker container
After Run this container, Remeber run cobbler sync
clean: Remove the docker container
mount: By default, run make mount will mount dist/centos7.iso on the path dist/mnt/centos7; You can alternatively run make mount -e NAME=ubuntu16 for mount dist/ubuntu16.iso to dist/mnt/ubuntu16. For use with the import target. Remeber use DVD iso.
umount: Unmount dist/mnt.
tty: Attach to a console inside the container
stop: Stop the container
start: Start the container
import: By default, run make import will import /mnt/centos7 into Cobbler; You can alternatively run make import -e NAME=ubuntu16 for import /mnt/ubuntu16. See mount target.
all: Build image, mount iso, run the container and import the distribution
vbox: Create a VirtualBox VNIC for listening on and issuing DHCP addresses. This is for testing Cobbler functionality in combination with Virtualbox VMs. Requires a working VirtualBox installation.
After you first time run this container, you should run cobbler sync. Because TFTPd can't self start by xinetd, but after you run cobbler sync, tftpd will start successfully