www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

已有操作系统的主机通过koan从Cobbler服务器重装系统

1,安装epel

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum -y install koan;

http://blog.sina.com.cn/s/blog_61c07ac50101d079.html (cobbler高手);

列出远程cobbler上的系统版本对象
koan --server=192.168.1.213 --list=profiles

koan --server=192.168.1.213 --display --profile=

 

koan -r  --server=192.168.1.213  --profile=CentOS-6.4-ruiy-x86_64

 

koan常用命令list

koan --server=172.17.10.14 --list=profiles  //Cobbler服务器已有的镜像配置属性文件,在重装系统需要此用命令查看Cobbler服务器已有的profiles文件,并在命令中指定;

koan --server=172.17.10.14 --list=systems  //查看Cobbler-PXE服务器的主机名;

koan --server=172.17.10.14 --list=images  //

koan --server=172.17.10.14 --display --profile=centos5.8-x86_64 

koan --server=172.17.10.14 --display --system=host-188116

koan -r  --server=172.17.10.14  --profile=centos5.8-x86_64 && reboot(自动给你的此客户端执行系统重装)

 

 

 

 

 

posted on 2014-05-13 13:35  秦瑞It行程实录  阅读(851)  评论(0编辑  收藏  举报
www.cnblogs.com/ruiyqinrui