infra:cobbler

Cobbler

Create centos7 (centos nspawn container on ubuntu is broken)

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install python2-django cobbler cobbler-web
yum install wget dhcp tftp-server debmirror
systemctl enable dhcpd
systemctl start dhcpd
systemctl enable tftp
systemctl start tftp
cobbler check

Import first distro

mkdir -p /srv/iso/ubuntu-18.04.2-server-amd64
cd /srv/iso
wget http://cdimage.ubuntu.com/releases/18.04.2/release/ubuntu-18.04.2-server-amd64.iso
mount ubuntu-18.04.2-server-amd64.iso ubuntu-18.04.2-server-amd64
cobbler import --name ubuntu-18.04.2 --path=/srv/iso/ubuntu-18.04.2-server-amd64
cobbler sync

install ubuntu

clone https://github.com/noharm/cobbler.git
dpkg-buildpackage
install cobbler
pip install django==1.6
  • infra/cobbler.txt
  • Last modified: 20/11/2021 01:45
  • by harm