利用Cobbler批量快速网络安装CentOS(2)

[root@server1 ~]# cobbler check

The following are potential configuration items that you may want to fix:

1 : some network boot-loaders are missing from /var/lib/cobbler/loaders, you may run 'cobbler get-loaders' to download them, or, if you only want to handle x86/x86_64 netbooting, you may ensure that you have installed a *recent* version of the syslinux package installed and can ignore this message entirely. Files in this directory, should you want to support all architectures, should include pxelinux.0, menu.c32, elilo.efi, and yaboot. The 'cobbler get-loaders' command is the easiest way to resolve these requirements.

2 : debmirror package is not installed, it will be required to manage debian deployments and repositories

3 : The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: "openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'" to generate new one

Restart cobblerd and then run 'cobbler sync' to apply changes.

修复第1条:

 

[root@server1 ~]# cobbler get-loaders

task started: 2012-12-09_055900_get_loaders

task started (id=Download Bootloader Content, time=Sun Dec 9 05:59:00 2012)

downloading Fedorapeople.org/loaders/README to /var/lib/cobbler/loaders/README

downloading to /var/lib/cobbler/loaders/COPYING.elilo

downloading to /var/lib/cobbler/loaders/COPYING.yaboot

downloading to /var/lib/cobbler/loaders/COPYING.syslinux

downloading to /var/lib/cobbler/loaders/elilo-ia64.efi

downloading to /var/lib/cobbler/loaders/yaboot

downloading to /var/lib/cobbler/loaders/pxelinux.0

downloading to /var/lib/cobbler/loaders/menu.c32

downloading to /var/lib/cobbler/loaders/grub-x86.efi

downloading to /var/lib/cobbler/loaders/grub-x86_64.efi

*** TASK COMPLETE *** <-看到这就代表成功完成

第2条 不安装debian系统就不用修复

安装的话,下载debmirror这个对应版本的包进行安装

 

修复第3条:

 

[root@server1 ~]# openssl passwd -1 -salt 'thinkpad' '123456'

$1$thinkpad$NIq68XbeN51UgdtXiSOAE.

# thinkpad 这个是随机的数字或字母用来干扰以免被人看到 123456为root密码

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/20386.html