koan重装system

author:headsen chen

date: 2018-08-02   16:29:51

      koan是kickstart-over-a-network的缩写,它是cobbler的客户端帮助程序,koan允许你通过网络提供虚拟机,也允许你重装已经存在的客户端。当运行时,koan会从远端的cobbler server获取安装信息,然后根据获取的安装信息进行安装。
1、在客户端安装koan

      yum -y install epel-release

      yum install -y koan
2、执行安装命令
      koan --server=192.168.1.100 --list=profiles
           centos-7-x86_64
3、在指定要重装的系统上执行要重装的哪个系统
      koan --replace-self --server=192.168.1.100 --profile=centos-7-x86_64
4、然后重启就会自动安装新系统了

      reboot

修改安装引导界面提示符
vim /etc/cobbler/pxe/pxedefault.template

原文地址:https://www.cnblogs.com/kaishirenshi/p/9408024.html