Aug 062012
 

七:Centos 6.3

1:导入centos 6.3 iso

加载iso

mount -t auto -o loop /root/CentOS-6.3-x86_64-bin-DVD1.iso /mnt

导入centos 6.3

估计是由于centos里光盘信息比较多,所以导入的时候,会同时创建一个distro,profile。并且还设置的repo。不过这个repo,只包括DVD1,如果希望包括DVD2,还需要做设置才行。

# cobbler import --path=/mnt --name=CentOS6.3 --arch=x86_64
task started: 2012-08-06_140452_import
task started (id=Media import, time=Mon Aug  6 14:04:52 2012)
Found a redhat compatible signature: Packages
adding distros
creating new distro: CentOS6.3-x86_64
creating new profile: CentOS6.3-x86_64
associating repos
traversing distro CentOS6.3-x86_64
descent into /var/www/cobbler/ks_mirror/CentOS6.3-x86_64
processing repo at : /var/www/cobbler/ks_mirror/CentOS6.3-x86_64
need to process repo/comps: /var/www/cobbler/ks_mirror/CentOS6.3-x86_64
looking for /var/www/cobbler/ks_mirror/CentOS6.3-x86_64/repodata/*comps*.xml
running: createrepo -c cache -s sha --groupfile /var/www/cobbler/ks_mirror/CentOS6.3-x86_64/repodata/0dae8d32824acd9dbdf7ed72f628152dd00b85e4bd802e6b46e4d7b78c1042a3-c6-x86_64-comps.xml /var/www/cobbler/ks_mirror/CentOS6.3-x86_64
1878/3848 - Packages/libipa_hbac-1.8.0-32.el6.i686.rpm                          
iso-8859-1 encoding on Ville Skytt<ville.skytta@iki.fi> - 2.8.2-2

3848/3848 - Packages/gpm-1.20.6-12.el6.x86_64.rpm                               
Saving Primary metadata
Saving file lists metadata
Saving other metadata

received on stderr: 
associating kickstarts
*** TASK COMPLETE ***

2:设置profile kickstart文件

profile默认是采用 /var/lib/cobbler/kickstarts/sample.ks  作为ks文件。

可以考虑使用我的ks文件来替换:centos.ks

cd /var/lib/cobbler/kickstarts
wget http://www.chenshake.com/wp-content/uploads/2012/08/centos.ks_.txt
mv centos.ks_.txt centos.ks
cobbler profile edit --name=CentOS6.3-x86_64 --kickstart=/var/lib/cobbler/kickstarts/centos.ks

注意,我的centos.ks 文件,默认已经是采用proxy,所以你一定要安装好squid。

这个时候,你可以通过下面命令查看修改的界面

cobbler profile report

3:命令行添加一个客户机

我是采用超微的机器。我已经启用了IPMI。对于cobbler来说,必须启用ipmi,才能发挥它的优势。

IPMI IP:10.1.199.213
user:ADMIN
pass:ADMIN

 cobbler system  add \
--name=node13 \
--hostname=node13.chenshake.com  \
--dns-name=node13.chenshake.com \
--profile=CentOS6.3-x86_64 \
--interface=eth0 \
--mac=00:25:90:67:CE:1A \
--interface=eth0 \
--ip-address=10.1.199.13 \
--subnet=255.255.255.0 \
--gateway=10.1.199.1 \
--static=1 \
--power-type=ipmilan \
--power-user=ADMIN \
--power-pass=ADMIN \
--power-address=10.1.199.213

这些添加,其实都是可以在web完成,不过web比较繁琐,所以命令行下更加方便。

dns-name,就是为了bind服务设置的,如果你不使用bind管理dns,这个参数可以忽略。

cobbler所有设置和修改,都需要通过cobbler sync来生效,你会看到重启name,dhcp服务。

cobbler sync

查看添加节点的情况

cobbler system report --name=node13

我们需要留意的一个参数是:netboot-enabled,当cobbler装完客户端后,这个参数会自动变成0,如果我们希望重装,就需要修改成1.

cobbler system edit --name=node13 --netboot-enabled=1

所有的修改,一定要记住,需要cobbler sync才能生效。

安装客户端

设置远程机器pxe启动:有些服务器支持下次启动pxe启动,可以运行这个命令,让机器下次是从pxe启动。

ipmitool -I lan -H 10.1.199.213 -U ADMIN -P ADMIN chassis bootdev pxe

重启远程机器

有两个办法重启远程机器

cobbler system reboot --name=node13
ipmitool -I lan -H 10.1.199.213 -U ADMIN -P ADMIN chassis power reset

当系统启动后,会从pxe启动,装完os后,会自动修改 netboot-enabled=0。

4:web操作

1)netboot enable

netboot

enable

2)sysnc

在web界面,也可以实现cobbler sync

sync

3)重启远程机器

这些操作,都是可以批量操作。让远程机器重启。目前web还无法实现让远程机器下次从pxe启动。

root

 

5:添加dvd2(可选)

目前源里应该是有3848个包。

# ls /var/www/cobbler/ks_mirror/CentOS6.3-x86_64/Packages/*.rpm | wc -l
3848

挂载dvd2

mount -t auto -o loop /root/CentOS-6.3-x86_64-bin-DVD2.iso /mnt

复制

# cp -rf /mnt/Packages/ /var/www/cobbler/ks_mirror/CentOS6.3-x86_64/
cp: overwrite `/var/www/cobbler/ks_mirror/CentOS6.3-x86_64/Packages/TRANS.TBL'? y

创建索引

这个地方比较复杂,centos 5和centos6,有很大的差异. 如果不正确操作,估计你会遇到这个错误.

createrepo

repodata目录下应该就2个xml文件,选择哪个数字开头一串的就可以。注意最后有一个 表示当前目录。

cd /var/www/cobbler/ks_mirror/CentOS6.3-x86_64
createrepo -g repodata/0dae8d32824acd9dbdf7ed72f6\
28152dd00b85e4bd802e6b46e4d7b78c1042a3-c6-x86_64-comps.xml .

这个时候在客户端,需要先

yum  clean all
yum list | wc -l

6:添加epel repo

命令行下操作,添加epel和epel-test的repo

把repo添加到profle

cobbler repo add --mirror=http://mirrors.ustc.edu.cn/epel/6/x86_64/ --name=epel6-x86_64 --arch=x86_64 --breed=yum
cobbler repo add --mirror=http://mirrors.ustc.edu.cn/epel/testing/6/x86_64/ --name=epel6-x86_64-testing --arch=x86_64 --breed=yum

这个只是对centos有效,如果你吧repo添加到profle,他会自动添加到节点上的repo上,指向内网,非常方便。

cobbler profile edit --name=CentOS6.3-x86_64 --repos="epel6-x86_64 epel6-x86_64-testing"

这个时候,就需要同步epel的源到本地,考验你的网络速度

cobbler reposync

我内网已经有,所以就直接同步就可以。

rsync -avlH root@10.1.199.11:/var/www/cobbler/repo_mirror/ /var/www/cobbler/repo_mirror

另外还有两个源,你可以考虑使用 centos update和centos plus

cobbler repo add --name=Centos6-CENTOSPLUS \
--mirror=http://mirrors.ustc.edu.cn/centos/6/centosplus/x86_64/ --arch=x86_64 --breed=yum
cobbler repo add --name=Centos6-UPDATES \
--mirror=http://mirrors.ustc.edu.cn/centos/6/updates/x86_64/ --arch=x86_64 --breed=yum

 

7:koan重装系统

重装节点的系统,你可以在cobbler上设置,无论web还是命令行。不过你还有一种选择,就是直接在客户机上进行。

koan:kickstart over a network。就可以实现这个功能。需要在客户端安装koan,就可以。

要使用koan,有一个前提,就是需要你网络里有dhcp。

yum -y install koan

koan的命令使用,倒是比较简单.http://linux.die.net/man/1/koan

# koan --server=10.1.199.12 --list=systems
- looking for Cobbler at http://10.1.199.12:80/cobbler_api node13 node15

你可以查看 systems, profiles.还可以查看根据具体的设置

# koan --server=10.1.199.12 --display --system=node15
- looking for Cobbler at http://10.1.199.12:80/cobbler_api
- reading URL: http://10.1.199.12/cblr/svc/op/ks/system/node15
install_tree: http://10.1.199.12/cblr/links/CentOS6.3-x86_64
                name  : node15
              distro  : CentOS6.3-x86_64
             profile  : CentOS6.3-x86_64
           kickstart  : http://10.1.199.12/cblr/svc/op/ks/system/node15
             ks_meta  : tree=http://@@http_server@@/cblr/links/CentOS6.3-x86_64 
        install_tree  : http://10.1.199.12/cblr/links/CentOS6.3-x86_64
              kernel  : /var/www/cobbler/ks_mirror/CentOS6.3-x86_64/images/pxeboot/vmlinuz
              initrd  : /var/www/cobbler/ks_mirror/CentOS6.3-x86_64/images/pxeboot/initrd.img
     netboot_enabled  : False
      kernel_options  : ks=http://10.1.199.12/cblr/svc/op/ks/system/node15 ksdevice=link kssendmac lang= text 
               repos  : epel6-x86_64 epel6-x86_64-testing
            virt_ram  : 512
    virt_disk_driver  : raw
           virt_type  : qemu
           virt_path  : 
      virt_auto_boot  : 1

重装

# koan --server=10.1.199.12 --replace-self --system=node15
- looking for Cobbler at http://10.1.199.12:80/cobbler_api
- reading URL: http://10.1.199.12/cblr/svc/op/ks/system/node15
install_tree: http://10.1.199.12/cblr/links/CentOS6.3-x86_64
downloading initrd initrd.img to /boot/initrd.img_koan
url=http://10.1.199.12/cobbler/images/CentOS6.3-x86_64/initrd.img
- reading URL: http://10.1.199.12/cobbler/images/CentOS6.3-x86_64/initrd.img
downloading kernel vmlinuz to /boot/vmlinuz_koan
url=http://10.1.199.12/cobbler/images/CentOS6.3-x86_64/vmlinuz
- reading URL: http://10.1.199.12/cobbler/images/CentOS6.3-x86_64/vmlinuz
- ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz_koan', '--initrd', '/boot/initrd.img_koan', '--args', '"ks=http://10.1.199.12/cblr/svc/op/ks/system/node15 ksdevice=link kssendmac lang= text "', '--copy-default', '--make-default', '--title=kick1344358008']
- reboot to apply changes

这个时候,你重启系统,不需要通过pxe,他就会自动开始重装。

8: 查看proxy的使用情况

其实就是跟踪squid的log就可以。为了看的舒服一点,有颜色,你需要装一个ccze。

tail -f /var/log/squid/access.log | ccze

 

 

参考文档

https://github.com/cobbler/cobbler/wiki/DNS%20management

  30 Responses to “CentOS 6.3 安装和配置cobbler(2)CentOS篇”

  1. 沙克,我在同步epel的源到本地的时候报错:
    [root@c6x64 CentOS6.2-x86_64]# createrepo -g repodata/3a27232698a261aa4022fd270797a3006aa8b8a346cbd6a31fae1466c724d098-c6-x86_64-comps.xml .
    5530/6255 – Packages/libdc1394-2.1.2-3.4.el6.x86_64.rpm
    iso-8859-1 encoding on Ville Skytt? – 2.8.2-2

    6255/6255 – Packages/fakeroot-1.12.2-22.2.el6.x86_64.rpm
    Saving Primary metadata
    Saving file lists metadata
    Saving other metadata

    [root@c6x64 ~]# cobbler reposync
    task started: 2012-08-14_102346_reposync
    task started (id=Reposync, time=Tue Aug 14 10:23:46 2012)
    hello, reposync
    run, reposync, run!
    creating: /var/www/cobbler/repo_mirror/epel6-x86_64/.origin/epel6-x86_64.repo
    running: /usr/bin/reposync -l -m -d –config=/var/www/cobbler/repo_mirror/epel6-x86_64/.origin/epel6-x86_64.repo –repoid=epel6-x86_64 –download_path=/var/www/cobbler/repo_mirror -a x86_64
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …
    7.2 kB 00:00 …

    received on stderr: Error setting up repositories: Cannot retrieve repository metadata (repomd.xml) for repository: epel6-x86_64. Please verify its path and try again

    Exception occured:
    Exception value: ‘cobbler reposync failed’
    Exception Info:
    File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 126, in die
    raise CX(msg)

    Exception occured:
    Exception value: ‘cobbler reposync failed’
    Exception Info:
    File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 125, in run
    self.sync(repo)
    File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 169, in sync
    return self.yum_sync(repo)
    File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 402, in yum_sync
    utils.die(self.logger,”cobbler reposync failed”)
    File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 134, in die
    raise CX(msg)

    reposync failed, tries left: 0
    Exception occured:
    Exception value: ‘reposync failed, retry limit reached, aborting’
    Exception Info:
    File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 126, in die
    raise CX(msg)

    Exception occured:
    Exception value: ‘reposync failed, retry limit reached, aborting’
    Exception Info:
    File “/usr/lib/python2.6/site-packages/cobbler/remote.py”, line 89, in run
    rc = self._run(self)
    File “/usr/lib/python2.6/site-packages/cobbler/remote.py”, line 251, in runner
    name=None, nofail=nofail, logger=self.logger)
    File “/usr/lib/python2.6/site-packages/cobbler/api.py”, line 758, in reposync
    return reposync.run(name)
    File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 147, in run
    utils.die(self.logger,”reposync failed, retry limit reached, aborting”)
    File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 134, in die
    raise CX(msg)

    !!! TASK FAILED !!!

    • /usr/bin/reposync -l -m -d –config=/var/www/cobbler/repo_mirror/epel6-x86_64/.origin/epel6-x86_64.repo –repoid=epel6-x86_64 –download_path=/var/www/cobbler/repo_mirror -a x86_64

      看看如何,我已经向cobbler发邮件列表。

      • https://github.com/cobbler/cobbler/issues/279

        相信应该是一个bug,我在centos 6.2下,相同的配置是没问题的。

        • 我也遇到同样的问题!同步epel的yum源就会报错。
          [centos6-x86_64-epel: 10500 of 11093 ] Downloading virtuoso-opensource-6.1.6-1.el6.x86_64.rpm
          Could not retrieve package 1:virtuoso-opensource-6.1.6-1.el6.x86_64. Error was failure: virtuoso-opensource-6.1.6-1.el6.x86_64.rpm from centos6-x86_64-epel: [Errno 256] No more mirrors to try.
          [centos6-x86_64-epel: 10501 of 11093 ] Downloading virtuoso-opensource-apps-6.1.6-1.el6.x86_64.rpm
          Could not retrieve package 1:virtuoso-opensource-apps-6.1.6-1.el6.x86_64. Error was failure: virtuoso-opensource-apps-6.1.6-1.el6.x86_64.rpm from centos6-x86_64-epel: [Errno 256] No more mirrors to try.
          [centos6-x86_64-epel: 10502 of 11093 ] Skipping existing virtuoso-opensource-conductor-6.1.6-1.el6.noarch.rpm



          [centos6-x86_64-epel: 11090 of 11093 ] Skipping existing zziplib-0.13.62-1.el6.i686.rpm
          [centos6-x86_64-epel: 11091 of 11093 ] Skipping existing zziplib-devel-0.13.62-1.el6.x86_64.rpm
          [centos6-x86_64-epel: 11092 of 11093 ] Skipping existing zziplib-devel-0.13.62-1.el6.i686.rpm
          [centos6-x86_64-epel: 11093 of 11093 ] Skipping existing zziplib-utils-0.13.62-1.el6.x86_64.rpm

          received on stderr:
          Exception occured:
          Exception value: ‘cobbler reposync failed’
          Exception Info:
          File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 126, in die
          raise CX(msg)

          Exception occured:
          Exception value: ‘cobbler reposync failed’
          Exception Info:
          File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 125, in run
          self.sync(repo)
          File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 169, in sync
          return self.yum_sync(repo)
          File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 429, in yum_sync
          utils.die(self.logger,”cobbler reposync failed”)
          File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 134, in die
          raise CX(msg)

          reposync failed, tries left: 0
          reposync failed, retry limit reached, skipping
          running: chown -R root:apache /var/www/cobbler/repo_mirror/centos6-x86_64-epel
          received on stdout:
          received on stderr:
          running: chmod -R 755 /var/www/cobbler/repo_mirror/centos6-x86_64-epel
          received on stdout:
          received on stderr:
          Exception occured:
          Exception value: ‘overall reposync failed, at least one repo failed to synchronize’
          Exception Info:
          File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 126, in die
          raise CX(msg)

          Exception occured:
          Exception value: ‘overall reposync failed, at least one repo failed to synchronize’
          Exception Info:
          File “/usr/lib/python2.6/site-packages/cobbler/remote.py”, line 87, in run
          rc = self._run(self)
          File “/usr/lib/python2.6/site-packages/cobbler/remote.py”, line 247, in runner
          3), name=name, nofail=nofail, logger=self.logger)
          File “/usr/lib/python2.6/site-packages/cobbler/api.py”, line 818, in reposync
          return reposync.run(name)
          File “/usr/lib/python2.6/site-packages/cobbler/action_reposync.py”, line 154, in run
          utils.die(self.logger,”overall reposync failed, at least one repo failed to synchronize”)
          File “/usr/lib/python2.6/site-packages/cobbler/utils.py”, line 134, in die
          raise CX(msg)

          !!! TASK FAILED !!!
          陈老师帮忙看看!谢谢

  2. 我今天也遇到这个问题。epel的源同步的时候,报的错误和你一样。郁闷的是我以前在centos6.2的环境就没这个问题。看看还有啥别的办法同步epel源。

    • 感觉应该是一个bug,我在centos6.2下没问题,centos6.3,就出现问题。
      你可以尝试

      /usr/bin/reposync -l -m -d –config=/var/www/cobbler/repo_mirror/epel6-x86_64/.origin/epel6-x86_64.repo –repoid=epel6-x86_64 –download_path=/var/www/cobbler/repo_mirror -a x86_64

      应该就可以下载。

  3. 一直在参照你这边的cobbler在安装
    有些问题 希望你能帮忙解决下
    我这边是双网卡两个段配置安装系统 一直没配置成功
    还有就是在ks脚本里面cobbler是怎么样去调用Snippets里面的文件的
    例如:%packages
    $SNIPPET(‘func_install_if_enabled’)
    $SNIPPET(‘puppet_install_if_enabled’)
    我这边测试总是提示无法识别
    能加我qq吗 2585790603
    谢谢

    • 两个网段这个估计不好办。snippets,这个应该默认就生效。已经加你qq。

  4. 你好,参考你的文档,在配置完后,发现无法读取kickstart源,提示:
    Error downloading kickstart file:

    Unable to download the kickstart file. Please modify the
    kickstart parameter below or press Cancel to proceed as an
    iteractive installation.

    http:///cblr/svc/op/ks/system/≤system name from Cobbler>
    我已经把我的ks文件放到了:
    root@centos6 ~]# ll /var/lib/cobbler/kickstarts/
    total 44
    -rw-r–r– 1 root root 1897 Apr 19 16:45 rhel-5.8.ks
    源配置
    [root@centos6 ~]# cobbler profile report –name rhel5.8-1
    Name : rhel5.8-1
    TFTP Boot Files : {}
    Comment :
    DHCP Tag : default
    Distribution : Rhel5.8-x86_64
    Enable gPXE? : 0
    Enable PXE Menu? : 1
    Fetchable Files : {}
    Kernel Options : {}
    Kernel Options (Post Install) : {}
    Kickstart : /var/lib/cobbler/kickstarts/rhel-5.8.ks
    Kickstart Metadata : {}
    Management Classes : []
    Management Parameters : <>
    Name Servers : []
    Name Servers Search Path : []
    Owners : [‘admin’]
    Parent Profile :
    Proxy :
    Red Hat Management Key : <>
    Red Hat Management Server : <>
    Repos : []
    Server Override : <>
    Template Files : {}
    Virt Auto Boot : 1
    Virt Bridge : xenbr0
    Virt CPUs : 1
    Virt Disk Driver Type : raw
    Virt File Size(GB) : 5
    Virt Path :
    Virt RAM (MB) : 512
    Virt Type : xenpv
    请问这是为什么?

    • 对于redhat相关系统,cobbler支持是很好的,基本导入就可以使用,如果不行你看一下iptables,或者停止看看。

      • 谢谢,你好,可能我没有描述清楚。iptables已经关了,主要是要想使用自己的kickstart,如果在导入rheDVD安装源的时候l时,会自动生成“Distribution”,使用默认的simple.ks是可以正常安装。但是当我edit成我自己的kickstart时就会出现无法下载。

        • 这个你就要自己比较一下,慢慢排除。有时候提示的错误,并不是真正的原因。

    • 应该是在VMware虚拟机中安装的对吧,注意创建虚拟机的时候,网卡不要选择VMXNET3,用E1000就可以了

  5. 沙克老师.
    repo源,必须要同步到cobbler本地才可以吗?我本身内网就有repo源.不能直接指定后使用吗?

    • 使用cobbler管理,他直接就帮你修改好client的源,指向内网。如果你使用内网的其他源,估计你需要修改ks文件,也可以实现。

  6. 针对centos6.3,cobbler reposync错误,你提到是个BUG,那有啥解决办法么。我试过手动执行是不行的。
    会一直提示我,下面这个包不能download
    Could not retrieve package zlib-static-1.2.3-27.el6.x86_64. Error was failure: Packages/zlib-static-1.2.3-27.el6.x86_64.rpm from CentOS6.3-x86_64-base: [Errno 256] No more mirrors to try.

    可是我这个包已经在repo里了!!!!

    求告知,谢谢!@!!!

  7. koan在没有使用带外的情况下的重启是否就无法自动重新安装了呢? 我在vmware里面尝试的时候是没有效果的,因为没有带外,所以我是自己reboot的。

  8. 陈老师,你好:
    我之前一直用cobbler装系统,昨天添加了一个centos5.8-32位的系统以后,我安装centos6.3就报错了,但是安装centos6.4/6.5都没有问题,ks都是一样的,6.3的iso应该也没有问题,前来向你请教,谢谢回答。
    我是通过DHCP的mac地址进行IP分配的,获取IP没问题,但是获取IP后出现error:Unable to retrieve http://10.30.34.64//centos6.3/images/stage2.img。apache的access日志有:GET /centos6.3/disc1/images/stage2.img HTTP/1.0″ 404 308 ,但是安装6.4/6.5时就直接跳过,谢谢陈老师帮忙解答。

  9. 你好,陈老师:
    我用戴尔的C6100和惠普的DL2000服务器用cobbler安装redhat5.4,无法识别RAID卡,对应的RAID是:LSI9620-8i和SmartArray P410 Controller,请问这种问题该怎么解决呢?Cobbler版本为2.4。

    • 陈老师,我可能弄错了,应该是网卡驱动没有,服务器都是2U4的,红帽5.4没有对应的网卡驱动,这种情况,怎么在系统安装前把网卡安装上?

      • 安装到Installation Method这里卡主了,需要选择介质。

        • 这种机器,就很麻烦。网卡的驱动,都是在内核里,理论上是你是可以利用cobbler挂载,不过太复杂了。

  10. Hi,
    陈老师,您好!!!不好意思冒昧打扰了!
    陈老师,我想请教您一个问题:
    是这样的,我在利用cobbler安装rhel5.x系列时,总是报无法下载rhel5.x所对应的kickstart文件!即使我将default文件关于rhel5的文件手动编辑后,再经过网络自动安装系统时,还是无法下载该kickstart文件!刚开始我以为是kickstart文件定义有误,但是我利用该kickstart文件通过PXE进行安装rhel5,是可以正常使用的;我在网上也搜集了一些资料,要么说是selinux没关,要么说是其它dhcp服务的影响,但这些对我这个问题还是没有改善,希望陈老师能帮帮我!

    • 你可以用默认cobbler的ks文件来测试。这个应该是没啥问题。

      • 陈老师,还是失败啊,使用的kickstart文件sample.ks!不知道哪里出了问题!下载这个文件ks=http://172.19.0.28/cblr/svc/op/ks/profile/rhel-5.6-i386还是失败!通过web能够访问http://172.19.0.28/cblr/svc/op/ks/profile/rhel-5.6-i386这个文件的内容!

 Leave a Reply

(required)

(required)