Sunday Blog

人生是一场刻意练习

CentOS 7.4 安装 Cobbler 实现自动化安装 Ubuntu 18.04

Cobbler + Kickstart

https://cobbler.github.io 环境准备 OS: CentOS 7.6 IP: 192.168.1.22 关闭防火墙 sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config setenforce 0 systemctl stop firewalld.service systemctl disable firewalld.service 阿里云源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 安装Cobbler 安装cobbler yum install cobbler cobbler-web dhcp debmirror pykickstart fence-agents -y 开机启动