Linux installation server that allows for rapid setup of network installation environments.
289
Build Status:
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.
Docker allows you to package an application with all of its dependencies into a standardized unit for software development.
More information :
This repository provides the LATEST STABLE version of the Cobbler Docker file.
Component & Version:
Before you up this container, adjust the configuration files in etc/cobbler.
In container:
Due to the reasons for the Chinese network, I replace the yum base/epel repository with domestic mirror.
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
Create a bridge to have an isolated network to work
brctl addbr cobbler
ip link set cobbler up
Start cobbler
vagrant up
vagrant ssh
UI will be accessible at [https://localhost:4443/cobbler_web] with cobbler/cobbler as credentials.
First download a centos7 ISO and store it in dist/centos7.iso
vagrant ssh
$ sudo -i
# mkdir -p /mnt/centos7 && sudo mount -t iso9660 -o loop,ro -v /vagrant/dist/centos7.iso /mnt/centos7/
# cobbler import --name=centos7 --arch=x86_64 --path=/mnt/centos7
# cobbler profile add --name=centos7-sample --distro=centos7-x86_64 --kickstart=/var/lib/cobbler/kickstarts/sample.ks
# cobbler system add --name=node1 --profile=centos7-sample --netboot-enabled=true --interface=eth0 --mac-address=00:16:3E:0B:2E:EE --netmask=255.255.255.0 --ip-address=192.168.56.200 --mtu=1500
There is still some issue I can't fix:
Content type
Image
Digest
Size
121.8 MB
Last updated
over 8 years ago
docker pull heliostech/cobbler