Skip to content

Instantly share code, notes, and snippets.

@skylens
Created December 14, 2018 16:48
Show Gist options
  • Select an option

  • Save skylens/42b837c1da2580cff1c23b4cdf1e985b to your computer and use it in GitHub Desktop.

Select an option

Save skylens/42b837c1da2580cff1c23b4cdf1e985b to your computer and use it in GitHub Desktop.

cobbler install

yum install -y cobbler cobbler-web xinetd syslinux pykickstart dhcp dnsmasq debmirror fence-agents
systemctl enable cobblerd httpd xinetd rsyncd dhcpd
systemctl start cobblerd httpd xinetd rsyncd dhcpd
systemctl status httpd
systemctl status cobblerd
systemctl status xinetd
systemctl status dhcpd

openssl passwd -1 -salt hLGoLIZR redhat

cobbler get-loaders
cobbler check
cobbler signature update
cobbler sync

mount -t iso9660 -o ro /dev/cdrom /mnt/

cobbler import --arch=x86_64 --path=/mnt --name=CentOS7

cobbler profile edit --name=CentOS7-x86_64 --kickstart=/var/lib/cobbler/kickstarts/CentOS7.ks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment