前提:cobbler部署准备好:https://www.qinzc.me/post-179.html
1.在需要重装的系统上安装
yum -y install koan
2.查看能重装的系统
koan --server=192.168.247.139 --list=profiles [root@cen7zc]# koan --server=192.168.247.139 --list=profiles - looking for Cobbler at http://192.168.247.139:80/cobbler_api CentOS-7-x86_64 CentOS-6-x86_64
3.指定需要重装的系统
koan --replace-self --server=192.168.247.139 --profile=CentOS-7-x86_64
4.重启即可
reboot
请登录后查看评论内容